13UIPopoverController and Modal View Controllers

So far, you have seen four ways to show a view controller’s view: setting it as the root view controller of the window, pushing it onto a UINavigationController’s stack, adding it to a UITabBarController, and presenting it modally.

In this chapter, we will look at UIPopoverController and more options for presenting modal view controllers. Some of these options are only available on the iPad, so we’ll start by making Homepwner a universal application – an application that runs natively on the iPad as well as the iPhone and iPod touch.

Figure 13.1  Homepwner on the iPad

Homepwner on the iPad

Universalizing Homepwner

Get iOS Programming: The Big Nerd Ranch Guide 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.