UIViewController.ViewWillAppear(Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called prior to the View being added to the view hierarchy.
[Foundation.Export("viewWillAppear:")]
public virtual void ViewWillAppear (bool animated);
abstract member ViewWillAppear : bool -> unit
override this.ViewWillAppear : bool -> unit
Parameters
- animated
- Boolean
If the appearance will be animated.
- Attributes
Remarks
This method is called prior to the UIView that is this UIViewController’s View property being added to the display UIView hierarchy.
Application developers who override this method must call base.ViewWillAppear()
in their overridden method.