Partager via


UIApplication.SupportedInterfaceOrientationsForWindow(UIWindow) Méthode

Définition

Ensemble d’orientations d’interface qui sont utilisées pour les contrôleurs d’affichage dans la fenêtre spécifiée.

[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

Paramètres

window
UIWindow

Fenêtre à partir de laquelle les orientations d’interface par défaut vont être récupérées.

Retours

Masque de bits indiquant les orientations prises en charge.

Attributs

S’applique à