UISplitViewControllerDelegate.GetPreferredInterfaceOrientationForPresentation Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Requests the delegate for an orientation to use when presenting the split view controller.
[Foundation.Export("splitViewControllerPreferredInterfaceOrientationForPresentation:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual UIKit.UIInterfaceOrientation GetPreferredInterfaceOrientationForPresentation (UIKit.UISplitViewController splitViewController);
abstract member GetPreferredInterfaceOrientationForPresentation : UIKit.UISplitViewController -> UIKit.UIInterfaceOrientation
override this.GetPreferredInterfaceOrientationForPresentation : UIKit.UISplitViewController -> UIKit.UIInterfaceOrientation
Parameters
- splitViewController
- UISplitViewController
Designates the split view controller that will be presented onscreen.
Returns
Returns the orientation that will be be used when the split view controller will first be displayed..
- Attributes