1. Storyboard entry point的设定与修改
新建了一个空的Storyboard,然后往上面放置了第一个ViewController后,如果想把它设为entry point,则需要在Attributes Inspector中,将Is Initial View Controller的复选框选中即可。
要修改entry point,直接用鼠标拖动表示entry point的箭头,到另一个ViewController上。
2. 将一个ViewController放置在NavigationController里
快捷方法:选中要修改的ViewController,然后选择Editor->Embed In->Navigation Controller,这样就会在Storyboard上新产生一个UINavigationController,并自动与当前的ViewController建立好连接。
3. 在Storyboard中修改TabbarController上Bar Item的顺序
直接用鼠标拖动来改变顺序。
4. Storyboard中ViewController之间连接的种类
有4种。
第1种是relation,如UITabbarController和它的每个Tab上的ViewController之间是"viewControllers"关系,UINavigationController和它的rootViewController之间是"rootViewController"的关系。
第2种是segue,如按下一个按钮,TableView的一行等,会跳转到下一个ViewCont