Share via


UIApplicationDelegate_Extensions.GetSupportedInterfaceOrientations Method

Definition

The interface orientations supported by the app.

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static UIKit.UIInterfaceOrientationMask GetSupportedInterfaceOrientations(this UIKit.IUIApplicationDelegate This, UIKit.UIApplication application, UIKit.UIWindow? forWindow);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member GetSupportedInterfaceOrientations : UIKit.IUIApplicationDelegate * UIKit.UIApplication * UIKit.UIWindow -> UIKit.UIInterfaceOrientationMask

Parameters

application
UIApplication

Reference to the UIApplication that invoked this delegate method.

forWindow
UIWindow

Returns

Attributes

Applies to