O'Reilly logo

Learning Mobile App Development: A Hands-on Guide to Building Apps with iOS and Android by Michael Eierman, Jakob Iversen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Design the Contacts Screen

Now it’s time to set up the user interface for the Contacts screen. Refer to Figure 10.12 as you create the screen.

Image

Figure 10.12 Designing the Contacts screen.

1. Open the Storyboard and remove the Contacts label and the UITextView control by clicking each and pressing Delete.

2. Drag a Segmented Control to the canvas and place in the center of the screen toward the top. A Segmented Control can have multiple segments, only one of which can be activated at a time. This is the iOS equivalent to a radio button. Double-click the text First and change to Edit, then change Second to View. You can also change these in the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required