How to add an initial view to a storyboard file?

I launched the "Empty Application" template, which means that I had to add my own storyboard file. The problem is that it is completely empty, and I can’t figure out how to get the first view there, so I can start developing my interface.

Does anyone know how to get this first look?

+4
source share
2 answers

When you create a new storyboard file, all you have to do is click / drag the UIViewController object on the right side of the tools into your storyboard, and then you are all set to work with the new storyboard.

+6
source

Just in case, you cannot start from scratch:

  • Choose your view controller
  • Open Attribute Inspector (default right panorama)
  • Go to the View Controller section.
  • Select the Start Preview Controller check box for the Start Scene option.

enter image description here

+7
source

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


All Articles