UIViewController.ViewWillAppear(Boolean) Method

Definition

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.

Applies to