UIViewController.IsBeingDismissed Property

Definition

true if the current UIViewController is in the process of being dismissed.

C#
public virtual bool IsBeingDismissed { [Foundation.Export("isBeingDismissed")] get; }

Property Value

true only if called during the execution of ViewWillDisappear(Boolean) or ViewDidDisappear(Boolean)

Attributes

Remarks

The dismissal process is bookended by the functions ViewWillDisappear(Boolean) and ViewDidDisappear(Boolean). While those are executing, this property will return true, at all other times, it will return false.

Applies to

Producto Versiones
Xamarin iOS SDK 12

See also

  • <xref:UIKit.UIViewController.ViewWillDisappear>
  • <xref:UIKit.UIViewController.ViewDidDisappear>