UIViewController.AutomaticallyForwardAppearanceAndRotationMethodsToChildViewControllers Propiedad

Definición

Determina si los eventos de contención se propagan automáticamente a los controladores de vista anidados.

[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool AutomaticallyForwardAppearanceAndRotationMethodsToChildViewControllers { [Foundation.Export("automaticallyForwardAppearanceAndRotationMethodsToChildViewControllers")] [ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)] [ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)] get; }
member this.AutomaticallyForwardAppearanceAndRotationMethodsToChildViewControllers : bool

Valor de propiedad

El valor predeterminado es true.

Atributos

Comentarios

Este método está en desuso y los desarrolladores de aplicaciones deben usar ShouldAutomaticallyForwardAppearanceMethods y ShouldAutomaticallyForwardRotationMethods.

De forma predeterminada, esta configuración es truey UIKit invocará los métodos siguientes en los controladores de vista anidados automáticamente: ViewWillAppear(Boolean), ViewDidAppear(Boolean), ViewWillDisappear(Boolean), ViewDidDisappear(Boolean), WillRotate(UIInterfaceOrientation, Double)WillAnimateRotation(UIInterfaceOrientation, Double) y DidRotate(UIInterfaceOrientation).

Si este valor se establece falseen , el controlador de vista es responsable de reenviar esos eventos a los controladores de vista anidados.

Se aplica a