iOS Reference Library Apple Developer
Search

MultipleDetailViews

Last Revision:
Version 1.1, 2010-04-20
Added localization support; viewDidUnload now releases IBOutlets.
(Full Revision History)
Build Requirements:
Mac OS X v10.6 or later, Xcode 3.2.2 or later, iPhone OS 3.2 or later
Runtime Requirements:
Mac OS X v10.6 or later, iPhone OS 3.2 or later

This sample shows how you can use UISplitViewController to manage multiple detail views.

The application uses a split view controller with a table view controller as the root view controller. When you make a selection in the table view, a new view controller is created and set as the split view controller's second view controller.

The root view controller defines a protocol (SubstitutableDetailViewController) that detail view controllers must adopt. The protocol specifies methods to hide and show the bar button item controlling the popover.




Last updated: 2010-04-20

Did this document help you? Yes It's good, but... Not helpful...