splitViewControllerSupportedInterfaceOrientations(_:)
Asks the delegate to specify the interface orientations that the split view controller supports.
Declaration
optional func splitViewControllerSupportedInterfaceOrientations(_ splitViewController: UISplitViewController) -> UIInterfaceOrientationMaskParameters
- splitViewController:
The split view controller.
Return Value
The orientations that you want the specified split view controller to support. The value you return can be one or more of the UIInterfaceOrientationMask constants.
Discussion
The split view controller calls this method to obtain the orientations that it supports. You can use this method to alter the set of orientations typically supported by a split view controller. If you don’t implement this method, the split view controller supports all orientations on iPad and all but the allButUpsideDown orientation on iPhone devices.