編輯

共用方式為


UIViewController.ViewWillDisappear(Boolean) Method

Definition

This method is called prior to the removal of the UIViewthat is this UIViewController’s View from the display UIView hierarchy.

[Foundation.Export("viewWillDisappear:")]
public virtual void ViewWillDisappear (bool animated);
abstract member ViewWillDisappear : bool -> unit
override this.ViewWillDisappear : bool -> unit

Parameters

animated
Boolean

If the appearance will be animated.

Attributes

Applies to