UIPopoverController

It is common for an application to present a view controller so that the user can make a choice about what the application should do next. For example, the UIImagePickerController shows the user a table of images to choose from.

On the iPhone and iPod touch, view controllers like this are presented modally and take up the entire screen. However, the iPad, having more screen real estate, offers another option: UIPopoverController.

A popover controller displays another view controller’s view in a bordered window that floats above the rest of the application’s interface. When you create a UIPopoverController, you set this other view controller as the popover controller’s contentViewController.

In this chapter, you will present ...

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.