November 2013
Beginner
592 pages
17h 49m
English
The car images view controller already exists on the iPhone storyboard, so you can load and show it. Doing this takes two steps: adding a storyboard identifier, and loading and preparing the controller, as described here:
1. Open Main_iPhone.storyboard in the Layout editor and select the car image view controller.
2. Set the Storyboard ID to CarImagesViewController in the Identity inspector, as shown in Figure 11-11.
Figure 11-11 Setting the storyboard identifier
When a view controller has a storyboard ID, you can use the UIStoryboard method instantiateViewControllerWithIdentifier: to load an instance.
3. Open MainMenuViewController.m ...
Read now
Unlock full access