
代码演示:

代码:
UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@"ConfirmOrder" bundle:nil];
// [self.navigationController showViewController:[storyboard instantiateInitialViewController] sender:nil];
[self.navigationController pushViewController:[storyboard instantiateInitialViewController] animated:YES];
解析:
[UIStoryboard storyboardWithName:@"ConfirmOrder" bundle:nil];
@"ConfirmOrder" 是你的Storyboard 名。
pushViewController 和 showViewControlle 两种跳转方式,官方推荐使用showViewControlle ,因为后面可带参数。
上面是通过Storyboard 名字寻找入口Storyboard 文件。有一点要注意 Is Initial View Controll 要勾上。

绑定Storyboard的控制器,就可以控制了。
