Instance Method


Asks the delegate for the orientation to use when presenting the split view controller.


- (UIInterfaceOrientation)splitViewControllerPreferredInterfaceOrientationForPresentation:(UISplitViewController *)splitViewController;



The split view controller that is about to be presented onscreen.

Return Value

The orientation to use when first displaying the split view controller.


UIKit calls this method to determine which orientation your app prefers when presenting the specified split view controller. You can use this method to specify the orientation that you think is best when first displaying the split view controller. The orientation you specify can be different than the current device orientation. After presentation, the system may rotate the split view controller as appropriate to one of its other supported interface orientations.

If you do not implement this method, the system presents the view controller using the current orientation of the status bar.

See Also

Overriding the Interface Orientations

- splitViewControllerSupportedInterfaceOrientations:

Asks the delegate to specify the interface orientations that the split view controller supports.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software