UINavigationControllerDelegate_Extensions.GetPreferredInterfaceOrientation Method

Definition

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

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static UIKit.UIInterfaceOrientation GetPreferredInterfaceOrientation (this UIKit.IUINavigationControllerDelegate This, UIKit.UINavigationController navigationController);
static member GetPreferredInterfaceOrientation : UIKit.IUINavigationControllerDelegate * UIKit.UINavigationController -> UIKit.UIInterfaceOrientation

Parameters

This
IUINavigationControllerDelegate

The instance on which this extension method operates.

navigationController
UINavigationController

Returns

Attributes

Applies to