【发布时间】:2014-11-03 02:46:03
【问题描述】:
当我尝试以编程方式转到另一个故事板时,我使用
//Pop user to next screen
let storyboard = UIStoryboard(name: "HomeViewController", bundle: nil);
let vc = storyboard.instantiateViewControllerWithIdentifier("home") as UIViewController;
self.presentViewController(vc, animated: true, completion: nil);
但这并没有在下一个故事板上显示导航控制器。所以我做到了
HomeViewController.presentViewController(vc, animated: true, completion: nil);
所有抛出的都是
调用中的额外参数“动画”
有什么想法吗?
【问题讨论】: