UIViewController.PresentedViewController Property


The UIViewController that is being presented by this UIViewController or one of this’s ancestor UIViewControllers.

[get: Foundation.Export("presentedViewController")]
public virtual UIKit.UIViewController PresentedViewController { get; }
member this.PresentedViewController : UIKit.UIViewController

Property Value


The UIViewController that is being presented.

This value can be null.



This method will return a presented UIViewController even if the presenting UIViewController is an ancestor of this UIViewController. Note that this is slightly asymmetrical to PresentingViewController which returns null when this is an intermediate UIViewController.

Applies to

See also