Compartilhar via


UIViewController.ShouldAutomaticallyForwardRotationMethods Propriedade

Definição

Se os métodos de rotação devem ser encaminhados para os filhos 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 da propriedade

O valor padrão é true.

Atributos

Comentários

Os desenvolvedores de aplicativos que substituem esse membro e o definem false como são responsáveis por controlar os métodos relacionados à rotação de seus filhos UIViewController. Os desenvolvedores de aplicativos devem chamar o filho UIViewControllerde WillRotate(UIInterfaceOrientation, Double), WillAnimateRotation(UIInterfaceOrientation, Double)e DidRotate(UIInterfaceOrientation).

Aplica-se a