Freigeben über


UIViewController.ShouldAutorotate Methode

Definition

Aktiviert oder deaktiviert die automatische Drehung.

[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

Gibt zurück

true , wenn der UIViewController automatisch gedreht werden soll, false andernfalls.

Attribute

Gilt für: