UIPopoverController

With iPad applications, you have a lot more screen space to work with. Let’s take advantage of this by presenting the UIImagePickerController in a UIPopoverController when the user taps the camera button in the detail interface.

A popover controller displays another view controller’s view in a bordered window that floats above the rest of the application’s interface. It is only available on iPads. When you create a UIPopoverController, you set this other view controller as the popover controller’s contentViewController. Popover controllers are useful when giving the user a list of choices (like picking a photo out of the photo library) or some extra information about something that is summarized on the screen. ...

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.