Share via


UIViewController.ShouldAutomaticallyForwardRotationMethods Propriété

Définition

Indique si les méthodes de rotation doivent être transférées aux enfants UIViewController.

[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, "Use Adaptive View Controllers instead.")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool ShouldAutomaticallyForwardRotationMethods { [Foundation.Export("shouldAutomaticallyForwardRotationMethods")] [ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, "Use Adaptive View Controllers instead.")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)] [ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)] get; }
member this.ShouldAutomaticallyForwardRotationMethods : bool

Valeur de propriété

La valeur par défaut est true.

Attributs

Remarques

Les développeurs d’applications qui remplacent ce membre et le définissent sur sont responsables du contrôle des méthodes liées à false la rotation de leurs enfants UIViewController. Les développeurs d’applications WillRotate(UIInterfaceOrientation, Double)doivent appeler UIViewController, WillAnimateRotation(UIInterfaceOrientation, Double)et DidRotate(UIInterfaceOrientation).

S’applique à