Instance Method

viewDidDisappear:

Notifies the view controller that its view was removed from a view hierarchy.

Declaration

- (void)viewDidDisappear:(BOOL)animated;

Parameters

animated

If YES, the disappearance of the view was animated.

Discussion

You can override this method to perform additional tasks associated with dismissing or hiding the view. If you override this method, you must call super at some point in your implementation.

See Also

Responding to View-Related Events

- viewWillAppear:

Notifies the view controller that its view is about to be added to a view hierarchy.

- viewDidAppear:

Notifies the view controller that its view was added to a view hierarchy.

- viewWillDisappear:

Notifies the view controller that its view is about to be removed from a view hierarchy.

beingDismissed

A Boolean value indicating whether the view controller is being dismissed.

beingPresented

A Boolean value indicating whether the view controller is being presented.

movingFromParentViewController

A Boolean value indicating whether the view controller is being removed from a parent view controller.

movingToParentViewController

A Boolean value indicating whether the view controller is being moved to a parent view controller.