編輯

共用方式為


UIViewController.GetSupportedInterfaceOrientations Method

Definition

The orientations supported by this UIViewController.

[Foundation.Export("supportedInterfaceOrientations")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual UIKit.UIInterfaceOrientationMask GetSupportedInterfaceOrientations ();
abstract member GetSupportedInterfaceOrientations : unit -> UIKit.UIInterfaceOrientationMask
override this.GetSupportedInterfaceOrientations : unit -> UIKit.UIInterfaceOrientationMask

Returns

A UIInterfaceOrientationMask of the orientations supported by this UIViewController.

Attributes

Applies to

See also