1
我用这种方法在if条件推动另一UIViewController中:推的UIViewController没有导航控制器
initViewController *MW = [initViewController alloc];
MW = [self.storyboard instantiateViewControllerWithIdentifier:@"init"];
[self.navigationController pushViewController:MW animated:YES];
现在我已经改变了我的建筑,我只是删除我的导航控制器。这就是为什么,由于没有NavigationController存在,这些步骤不会再帮助我。现在我怎么能不按按钮 - (IBAction)推另一个ViewController。我只是想在Storyboard中使用它。
问候。
非常感谢你的回答。它的工作原理和处理我所有的问题:D –
您R欢迎.... –
一个问题刚刚显示:) - 警告:尝试呈现<登录:0x1cdb2960>其视图不在窗口层次结构中 ! –