O'Reilly logo

iOS Programming: The Big Nerd Ranch Guide by Joe Conway, Aaron Hillegass

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required