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.
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 ...
Get Learning Mobile App Development: A Hands-on Guide to Building Apps with iOS and Android 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.