How to manually add a root controller controller arrows after a new storyboard?

I just created a new storyboard for the test, and not bothered the main storyboard. therefore, if I were testing, I would like to use the new storyboard that I managed to manage, add some view controllers, and I can start the storyboard, as well as one of the controllers in the source code, but how to create a view controller in the storyboard, since the arrow not listed as main!

how to make this view controller the root view controller?

+5
source share
3 answers

You mean, how can you designate the view controller as the controller of the root view of the storyboard? Select a view controller, open the Attribute Inspector and select Is Initial View Controller .

Attributes Inspector

+8
source

Select a view controller and in the Attribute Inspector, check the box "Source view controller".

+4
source

enter image description here

the clicker is the initial view controller in the Inspector attribute, which will give a connection to this view manager

+2
source

Source: https://habr.com/ru/post/1203440/


All Articles