Instance Method


Tells the delegate that the display mode for the split view controller is about to change.


- (void)splitViewController:(UISplitViewController *)svc willChangeToDisplayMode:(UISplitViewControllerDisplayMode)displayMode;



The split view controller whose display mode is changing.


The new display mode that is about to be applied to the split view controller.


The split view controller calls this method when its display mode is about to change. Because changing the display mode usually means hiding or showing one of the child view controllers, you can implement this method and use it to add or remove the controls for showing the primary view controller.

See Also

Responding to Display Mode Changes

- targetDisplayModeForActionInSplitViewController:

Asks the delegate to provide the display mode to apply when a split view controller action occurs.