Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to add initial view to Storyboard file?

I started an "Empty Application" template, this means that I had to add my own storyboard file. Problem is, it is completely blank, and I can't figure out how to get the first view on there, so I can start designing my interface.

Anyone know how to get that first view on there?

like image 720
tarheel Avatar asked Nov 24 '11 04:11

tarheel


People also ask

How do I change the initial view controller in storyboard?

If you are starter like me ( both iOS and OSX mechine ) and you wanted to change the entry point within same storyboard, then, -> long press on the entry point arrow. -> drag it to the view controller you wish to make the starting point, the arrow will now move to your new screen.

How do I add views to my storyboard?

In storyboards, you add views by dragging them onto the view controller scene. For example, the following figure shows a view controller with an image view and button on an iPhone.

How do I create an initial view controller?

This is located in your app's settings. Navigate to its Info tab. Clear the value of Main Interface in your app's General tab. In your app's delegate's application:didFinishLaunchingWithOptions: method: create the new Initial View Controller.


1 Answers

When you create a new Storyboard file, all you need to do is click/drag the UIViewController object from your right hand side of tools into your Storyboard and then you're all set to begin work on your new Storyboard.

like image 75
Brayden Avatar answered Oct 23 '22 01:10

Brayden