Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to manually add a root view controller arrow after new a storyboard?

I was just created a new storyboard for test, rather than bother the main storyboard. so when if I was testing, I would like to use the new storyboard I can managed add some view controllers, and I can start the storyboard as well as one of the controller in source code, but how to make a view controller in the storyboard, as there isn't the arrow as the main one!

how to make this view controller the root view controller?

like image 401
Solomon Avatar asked Sep 25 '14 23:09

Solomon


2 Answers

Do you mean how can you designate a view controller as the storyboard's root view controller? Select the view controller, open the Attributes Inspector, and select Is Initial View Controller.

Attributes Inspector

like image 129
NRitH Avatar answered Sep 28 '22 04:09

NRitH


Select the view controller and in the Attributes Inspector, check the "Is Initial View Controller" checkbox.

like image 26
Daniel Shteremberg Avatar answered Sep 28 '22 04:09

Daniel Shteremberg