UIViewController.PresentingViewController Property
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.
The UIViewController that is presenting this UIViewController.
public virtual UIKit.UIViewController PresentingViewController { [Foundation.Export("presentingViewController")] get; }
member this.PresentingViewController : UIKit.UIViewController
Property Value
The UIViewController that is presenting this UIViewController.
This value can be null
.
- Attributes
Remarks
If this UIViewController is being presented, this property holds the UIViewController that is presenting it. Note that this is slightly asymmetrical to PresentedViewController which returns a value even if it is a descendant of this
that is being presented.