How to Add Events Support to the iPhone Storyboard in Your iOS App
The Events-related parts of storyboard file for the iPhone is simpler than the one you did in your iOS app for the iPad, because you don’t start with a Navigation controller. Check out the necessary components for the iPhone.
Your Objective-C code doesn’t have to change at all. The key components for the Events feature on the iPhone only require that you add components to the iPhone Storyboard file, connect them to the appropriate Objective-C classes, and connect them to work together. Your small task is summarized in the following.
You must add a new Events controller to the iPhone Storyboard. This Events controller must be set to use the custom EventsController class.
The “Events” Table view cell in the MasterViewController’s Table view must be connected with a push segue to the new Events controller.
An instance of UIPageViewController must be embedded in the EventsControlller container. This UIPageVIewController is responsible for managing transitions (such as page curls) between events pages.
A custom Event Page controller must be added to the iPhone Storyboard. It is responsible for displaying event information in an HTML web page rendered by an instance of UIWebView. This Event Page controller must be set to use the custom EventPageController class.
You can assemble this the same way that you added the Events-related component to your iPad storyboard, except that you can skip the Navigation controller and connect a Push segue directly to your Events controller scene.