我正在使用Mzforsheet Controller我无法将值从一个视图传递到另一个视图 [英] I'm Using Mzforsheet Controller i'm un able to pass values from one view to another view
问题描述
我添加了另一个ui,因为我放置了一个标签。
我的问题是在加载之前在弹出视图控制器中传递标签数据然后执行以下代码
formSheet.willPresentCompletionHandler = ^(UIViewController * presentsFSViewController){
//传递数据
// _objMZ是我的单吨类对象变量。这个@字符串值我想传递pop视图ui
_objMZ.strlblstringNS = @String;
};
i能够在view之后获取值会出现方法。所以我的值出现在这个对象中,但没有其他方法可以对所有视图加载数据_objMz.Strlbl值正在读取
以下我正在使用的链接
https://github.com/m1entus/MZFormSheetController
well i have added another ui in that i placed one label.
My problem is when pass the lable data in pop view controller before its loading after then the following code is executing
formSheet.willPresentCompletionHandler = ^(UIViewController *presentedFSViewController) {
// Passing data
// _objMZ is my single ton class object variable. This @"string" value i want to pass pop view ui
_objMZ.strlblstringNS=@"String";
};
i can able to get the values after view will appear method. so my values are presenting in this object but there is no another method to all a view load data" _objMz.Strlbl values are reading "
the following link i'm using
https://github.com/m1entus/MZFormSheetController
推荐答案
这篇关于我正在使用Mzforsheet Controller我无法将值从一个视图传递到另一个视图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!