Version 1.2, 2012-09-18
Demonstrates managing the presentation of multiple detail view controllers with a navigation hierarchy that includes multiple levels.
(Full Revision History)
iOS 5.0 SDK or later
iOS 5.0 or later
This sample shows how you can use UISplitViewController to manage the presentation of multiple detail views in conjunction with a navigation hierarchy.
The application uses a split view controller with a custom object as its delegate. When you make a selection in the table view, a new view controller is set as the split view controller's second view controller.
The custom split view delegate defines a protocol (SubstitutableDetailViewController) that detail view controllers must adopt. The protocol specifies a property to hide and show the bar button item controlling the popover.
© 2012 Apple Inc. All Rights Reserved. (Last updated: 2012-09-18)