UIViewController.ShouldAutomaticallyForwardRotationMethods Propiedad

Definición

Si los métodos de rotación se deben reenviar a los elementos secundarios 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

Valor de propiedad

El valor predeterminado es true.

Atributos

Comentarios

Los desarrolladores de aplicaciones que invalidan este miembro y lo false establecen en son responsables de controlar los métodos relacionados con la rotación de sus elementos secundarios UIViewController. Los desarrolladores de aplicaciones deben llamar a los UIViewControllerWillRotate(UIInterfaceOrientation, Double)elementos secundarios , WillAnimateRotation(UIInterfaceOrientation, Double)y DidRotate(UIInterfaceOrientation).

Se aplica a