編輯

共用方式為


UINavigationControllerDelegate_Extensions.SupportedInterfaceOrientations Method

Definition

Can be overridden to dynamically specify the supported orientations 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.UIInterfaceOrientationMask SupportedInterfaceOrientations (this UIKit.IUINavigationControllerDelegate This, UIKit.UINavigationController navigationController);
static member SupportedInterfaceOrientations : UIKit.IUINavigationControllerDelegate * UIKit.UINavigationController -> UIKit.UIInterfaceOrientationMask

Parameters

This
IUINavigationControllerDelegate

The instance on which this extension method operates.

navigationController
UINavigationController

Returns

Attributes

Applies to