Building the Interface

Let’s get started on your interface. You have selected Main.storyboard to reveal its single scene in the canvas.

To start, make sure your scene is sized for iPhone 11 Pro. At the bottom of the canvas, find the View as button. It will likely say something like View as: iPhone 11 Pro (wC hR). (The wC hR will not make sense right now; we will explain it in Chapter 16.) If it says iPhone 11 Pro already, then you are all set. If not, click the View as button and find and select the iPhone 11 Pro icon (Figure 1.9).

Figure 1.9  Selecting iPhone 11 Pro

Selecting iPhone 11 Pro

It is time to add your view objects to that blank slate. ...

Get iOS Programming: The Big Nerd Ranch Guide, 7th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.