Xcode, how to change which viewController loads first at startup

I am using storyboards, xcode 4.6.1. I created the application, but now I want to go back and add a new view controller to the beginning. How to make this view controller the first to load at runtime?

+6
source share
2 answers

Select your viewcontroller in the storyboard, click show the attributes inspector

and select initial scene: is initial view controller

enter image description here

+10
source

Xcode 10.3

 Show Inspectors -> Show the Attributes inspector -> Is Initial View Controller 

It will update the initial view controller in the same .storyboard.

0
source

All Articles