我在ipad应用程序中工作,我有一个viewController A,它有很多子视图viewcontroller b,c,d,e,f ...当我想从一个viewcontroller中选择一个单元格来获得一个prsent模态视图“全屏”它无法正常工作,我该如何解决?
答案 0 :(得分:0)
因为您已将所有viewcontroller添加为子视图,所以不需要显示它
你试试
[self.view bringsubviewtofront:a.view];
希望得到这个帮助,
修改强>
use following local notification calling methods to solve your problem,
//place in class from which you want to perform action
[[NSNotificationCenter defaultCenter] addObserver:self
selector:@selector(openLarge:)name:@"openLarge" object:nil];
//place in class where you want to perform action
[[NSNotificationCenter defaultCenter] postNotificationName:@"openLarge"
object:nil userInfo:nameDict];
问候,