Share via


CPApplicationDelegate.GetSupportedInterfaceOrientations Method

Definition

The interface orientations supported by the app.

[Foundation.Export("application:supportedInterfaceOrientationsForWindow:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual UIKit.UIInterfaceOrientationMask GetSupportedInterfaceOrientations(UIKit.UIApplication application, UIKit.UIWindow? forWindow);
[<Foundation.Export("application:supportedInterfaceOrientationsForWindow:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetSupportedInterfaceOrientations : UIKit.UIApplication * UIKit.UIWindow -> UIKit.UIInterfaceOrientationMask
override this.GetSupportedInterfaceOrientations : UIKit.UIApplication * UIKit.UIWindow -> UIKit.UIInterfaceOrientationMask

Parameters

application
UIApplication

Reference to the UIApplication that invoked this delegate method.

forWindow
UIWindow

Returns

Implements

Attributes

Applies to