UIApplication.SupportedInterfaceOrientationsForWindow(UIWindow) Method

Definition

The set of interface orientations that are used for the view controllers in the specified window.

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

Parameters

window
UIWindow

Window from which the default interface orientations are going to be retrieved.

Returns

A bitmask indicating which orientations are supported.

Attributes

Applies to