Compartir a través de


UIApplication.SupportedInterfaceOrientationsForWindow(UIWindow) Método

Definición

Conjunto de orientaciones de interfaz que se usan para los controladores de vista en la ventana especificada.

[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

Parámetros

window
UIWindow

Ventana desde la que se recuperarán las orientaciones de interfaz predeterminadas.

Devoluciones

Máscara de bits que indica qué orientaciones se admiten.

Atributos

Se aplica a