UIViewController(AppearanceEvents) Category Reference
Declared in | UIViewController+AppearanceEvents.h |
---|
shouldAutomaticallyManageAppearanceTransitions
Whether or not the view controller should automatically notify its children when it appears and disappears.
@property (nonatomic, readonly) BOOL shouldAutomaticallyManageAppearanceTransitions
Discussion
Whether or not the view controller should automatically notify its children when it appears and disappears.
Whenever you enable this, you must override shouldAutomaticallyForwardAppearanceMethods to false
Declared In
UIViewController+AppearanceEvents.h
– viewControllerWillAppear:animated:
Call when a child view controller will appear.
- (void)viewControllerWillAppear:(nonnull UIViewController *)viewController animated:(BOOL)animated
Parameters
viewController |
The view controller. |
---|---|
animated |
Whether the transition is animated. |
Discussion
Call when a child view controller will appear.
Declared In
UIViewController+AppearanceEvents.h
– viewControllerDidAppear:animated:
Call when a child view controller did appear.
- (void)viewControllerDidAppear:(nonnull UIViewController *)viewController animated:(BOOL)animated
Parameters
viewController |
The view controller. |
---|---|
animated |
Whether the transition is animated. |
Discussion
Call when a child view controller did appear.
Declared In
UIViewController+AppearanceEvents.h
– viewControllerWillDisappear:animated:
Call when a child view controller will disappear.
- (void)viewControllerWillDisappear:(nonnull UIViewController *)viewController animated:(BOOL)animated
Parameters
viewController |
The view controller. |
---|---|
animated |
Whether the transition is animated. |
Discussion
Call when a child view controller will disappear.
Declared In
UIViewController+AppearanceEvents.h
– viewControllerDidDisappear:animated:
Call when a child view controller did disappear.
- (void)viewControllerDidDisappear:(nonnull UIViewController *)viewController animated:(BOOL)animated
Parameters
viewController |
The view controller. |
---|---|
animated |
Whether the transition is animated. |
Discussion
Call when a child view controller did disappear.
Declared In
UIViewController+AppearanceEvents.h