Compartilhar via


CPApplicationDelegate.GetSupportedInterfaceOrientations Método

Definição

Retorna uma máscara de bits de orientações com suporte para o especificado forWindow.

[Foundation.Export("application: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 GetSupportedInterfaceOrientations (UIKit.UIApplication application, UIKit.UIWindow forWindow);
abstract member GetSupportedInterfaceOrientations : UIKit.UIApplication * UIKit.UIWindow -> UIKit.UIInterfaceOrientationMask
override this.GetSupportedInterfaceOrientations : UIKit.UIApplication * UIKit.UIWindow -> UIKit.UIInterfaceOrientationMask

Parâmetros

application
UIApplication

Referência à UIApplication que invocou esse método delegado.

forWindow
UIWindow

Retornos

Atributos

Aplica-se a