Asks the delegate for the orientation to use when presenting the split view controller.
- iOS 7.0+
- Mac Catalyst 13.0+Beta
The split view controller that is about to be presented onscreen.
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.