问题
I am using storyboards, xcode 4.6.1. I have created an app, but now I want to go back and add a new view controller to the beginning. How do I assign this view controller to be the first one to load up at run-time?
回答1:
Choose your viewcontroller in storyboard , click show the attributes inspector
and choose initial scene: is initial view controller
回答2:
Xcode 10.3
Show Inspectors -> Show the Attributes inspector -> Is Initial View Controller
It will update the Initial view controller in the same .storyboard.
来源:https://stackoverflow.com/questions/15840449/xcode-how-to-change-which-viewcontroller-loads-first-at-start-up