Split View Controller

UISplitViewController is very simple, defining only three public properties and no public methods. Even the delegate protocol has only four methods. The power is in how split view controller manages two other view controllers: one for a master or menu view, and another for the detail.

Figure 11-1 shows these three controllers in the iPad Mail app. The split view controller, outlined in green, is the app window root view. Inside are the master view controller on the left outlined in red and the detail view controller on the right in blue.

Image

Figure 11-1 Split view controller

Figure 11-2 shows the same controller in portrait. ...

Get Learning iOS Development: A Hands-on Guide to the Fundamentals of iOS Programming 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.