UIApplicationDelegate_Extensions.GetSupportedInterfaceOrientations 方法

定义

应用支持的接口方向。

[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

参数

This
IUIApplicationDelegate

此扩展方法操作的实例。

application
UIApplication

对调用此委托方法的 UIApplication 的引用。

forWindow
UIWindow

返回

属性

适用于