Here's what I did in Xcode 6.0.1:
Step 1: Create a new project with a single view.
Step 2: Add an additional storyboard to the project.
Step 3: Compare the original storyboard with the newly added one. Note how there is no arrow to designate the initial view controller. I can't find a way to add one, either.
Is this expected behavior? Can you only have one initial view controller per application? I thought I could have one per storyboard.
Thanks in advance.
Specifying the Initial View Controllerstoryboard and select the Tab Bar Controller Scene. On the right, select the Attribute inspector. You'll find a checkbox named Is Initial View Controller. Checking this box will identify the selected view controller as the initial entry point for the storyboard you're on.
Click on the Main. storyboard file. You will be able to see how your Initial View Controller currently looks like on the left side of your screen. Simply drag the View Controller to the screen to create a new one; this option is located on the bottom-right side of the screen.
Select the view controller, then use the “Is Initial View Controller” checkbox in the attributes inspector.
In Xcode 6.2, there is no longer an "Is Initial View Controller" checkbox in the attributes inspector. Instead, you set the initial view controller by adding the Storyboard Entry Point found in the Object Library.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With