Share via


UINavigationControllerDelegate.GetPreferredInterfaceOrientation Method

Definition

Can be overridden to set the preferred interface orientation of the .

[Foundation.Export("navigationControllerPreferredInterfaceOrientationForPresentation:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual UIKit.UIInterfaceOrientation GetPreferredInterfaceOrientation(UIKit.UINavigationController navigationController);
[<Foundation.Export("navigationControllerPreferredInterfaceOrientationForPresentation:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetPreferredInterfaceOrientation : UIKit.UINavigationController -> UIKit.UIInterfaceOrientation
override this.GetPreferredInterfaceOrientation : UIKit.UINavigationController -> UIKit.UIInterfaceOrientation

Parameters

navigationController
UINavigationController

Returns

Implements

Attributes

Applies to