This method is called prior to the removal of the UIKit.UIViewthat is this UIKit.UIViewController’s UIViewController.View from the display UIKit.UIView hierarchy.
Application developers may override this method to configure animations, resign first responder status (see UIResponder.ResignFirstResponder), or perform other tasks.
Application developers who override this method must call base.ViewWillDisappear() in their overridden method.
- animated
- If the appearance will be animated.