UISplitViewControllerDelegate.GetPreferredInterfaceOrientationForPresentation(UISplitViewController) Method

Definition

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

Applies to