Freigeben über


UIApplication.SupportedInterfaceOrientationsForWindow(UIWindow) Methode

Definition

Der Satz von Schnittstellenausrichtungen, die für die Ansichtscontroller im angegebenen Fenster verwendet werden.

[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

Parameter

window
UIWindow

Fenster, aus dem die Standardschnittstellenausrichtungen abgerufen werden sollen.

Gibt zurück

Eine Bitmaske, die angibt, welche Ausrichtungen unterstützt werden.

Attribute

Gilt für: