Contents

viewDidDisappear()

Called after the title bar accessory view controller’s view is removed from the window’s view hierarchy.

Declaration

func viewDidDisappear()

Discussion

You can override this method to perform tasks associated with removing the title bar accessory view controller’s view from the window’s view hierarchy—such as releasing resources not needed when the view is not visible or no longer part of the window—but you must call super in your implementation.

See Also

Responding to view events