Compartilhar via


UIViewController.ShouldAutorotate Método

Definição

Ativa ou desativa a rotação automática.

[Foundation.Export("shouldAutorotate")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool ShouldAutorotate ();
abstract member ShouldAutorotate : unit -> bool
override this.ShouldAutorotate : unit -> bool

Retornos

true se o UIViewController deve girar automaticamente, false caso contrário.

Atributos

Aplica-se a