UIKit.UIViewController.AutomaticallyForwardAppearanceAndRotationMethodsToChildViewControllers Property
Determines whether the containment events are automatically propagaged to nested view controllers.

Syntax

[ObjCRuntime.Availability(Deprecated=ObjCRuntime.Platform.iOS_6_0, Introduced=ObjCRuntime.Platform.iOS_5_0)]
[get: Foundation.Export("automaticallyForwardAppearanceAndRotationMethodsToChildViewControllers")]
[get: ObjCRuntime.Availability(Deprecated=ObjCRuntime.Platform.iOS_6_0, Introduced=ObjCRuntime.Platform.iOS_5_0)]
public virtual bool AutomaticallyForwardAppearanceAndRotationMethodsToChildViewControllers { get; }

Value

The default value is true.

Remarks

This method is deprecated and application developers should instead use UIViewController.ShouldAutomaticallyForwardAppearanceMethods and UIViewController.ShouldAutomaticallyForwardRotationMethods.

By default, this setting is true, and UIKit will invoke the following methods on the nested view controllers automatically: UIViewController.ViewWillAppear(bool), UIViewController.ViewDidAppear(bool), UIViewController.ViewWillDisappear(bool), UIViewController.ViewDidDisappear(bool), UIViewController.WillRotate(UIInterfaceOrientation, double), UIViewController.WillAnimateRotation(UIInterfaceOrientation, double) and UIViewController.DidRotate(UIInterfaceOrientation). If this value is set to false, your view controller is responsible to forward those events to the nested view controllers.

Requirements

Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0