UIViewController.ShouldAutomaticallyForwardRotationMethods UIViewController.ShouldAutomaticallyForwardRotationMethods Property

Definition

Whether rotation methods should be forwarded to child UIViewControllers.

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

Property Value

The default value is true.

Remarks

Application developers who override this member and set it to false are responsible for controlling their child UIViewControllers rotation-related methods. Application developers should call their child UIViewController’s WillRotate(UIInterfaceOrientation, Double), WillAnimateRotation(UIInterfaceOrientation, Double), and DidRotate(UIInterfaceOrientation).

Applies to