---
title: shouldAutomaticallyForwardAppearanceMethods
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uiviewcontroller/shouldautomaticallyforwardappearancemethods
---

# shouldAutomaticallyForwardAppearanceMethods

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

## Declaration

```swift
var shouldAutomaticallyForwardAppearanceMethods: Bool { get }
```

## Return Value

Return Value true if appearance methods are forwarded or false if they are not.

## Discussion

Discussion This method is called to determine whether to automatically forward appearance-related containment callbacks to child view controllers. The default implementation returns true. 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 false, 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

- [children](uikit/uiviewcontroller/children.md)
- [addChild(_:)](uikit/uiviewcontroller/addchild(_:).md)
- [removeFromParent()](uikit/uiviewcontroller/removefromparent().md)
- [transition(from:to:duration:options:animations:completion:)](uikit/uiviewcontroller/transition(from:to:duration:options:animations:completion:).md)
- [beginAppearanceTransition(_:animated:)](uikit/uiviewcontroller/beginappearancetransition(_:animated:).md)
- [endAppearanceTransition()](uikit/uiviewcontroller/endappearancetransition().md)
- [hierarchyInconsistencyException](uikit/uiviewcontroller/hierarchyinconsistencyexception.md)
