Instance Property


Returns a Boolean value indicating whether appearance methods are forwarded to child view controllers.


@property(nonatomic, readonly) BOOL shouldAutomaticallyForwardAppearanceMethods;

Return Value

YES if appearance methods are forwarded or NO if they are not.


This method is called to determine whether to automatically forward appearance-related containment callbacks to child view controllers.

The default implementation returns YES. Subclasses of the UIViewController class that implement containment logic may override this method to control how these methods are forwarded. If you override this method and return NO, you are responsible for telling the child when its views are going to appear or disappear. You do this by calling the child view controller'€™s beginAppearanceTransition:animated: and endAppearanceTransition methods.

See Also

Managing Child View Controllers in a Custom Container


An array of view controllers that are children of the current view controller.

- addChildViewController:

Adds the specified view controller as a child of the current view controller.

- removeFromParentViewController

Removes the view controller from its parent.

- transitionFromViewController:toViewController:duration:options:animations:completion:

Transitions between two of the view controller'€™s child view controllers.

- beginAppearanceTransition:animated:

Tells a child controller its appearance is about to change.

- endAppearanceTransition

Tells a child controller its appearance has changed.

- setOverrideTraitCollection:forChildViewController:

Changes the traits assigned to the specified child view controller.

- overrideTraitCollectionForChildViewController:

Retrieves the trait collection for a child view controller.


Raised if the view controller hierarchy is inconsistent with the view hierarchy.