shouldAutomaticallyForwardAppearanceMethods
Returns a Boolean value indicating whether appearance methods are forwarded to child view controllers.
Declaration
var shouldAutomaticallyForwardAppearanceMethods: Bool { get }Return Value
true if appearance methods are forwarded or false if they are not.
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.