編輯

共用方式為


UIApplicationDelegate_Extensions.GetSupportedInterfaceOrientations Method

Definition

The interface orientations supported by the app.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static UIKit.UIInterfaceOrientationMask GetSupportedInterfaceOrientations (this UIKit.IUIApplicationDelegate This, UIKit.UIApplication application, UIKit.UIWindow forWindow);
static member GetSupportedInterfaceOrientations : UIKit.IUIApplicationDelegate * UIKit.UIApplication * UIKit.UIWindow -> UIKit.UIInterfaceOrientationMask

Parameters

This
IUIApplicationDelegate

The instance on which this extension method operates.

application
UIApplication

Reference to the UIApplication that invoked this delegate method.

forWindow
UIWindow

Returns

Attributes

Applies to