UIKit.UIViewController.PresentingViewController Property
The UIKit.UIViewController that is presenting this UIKit.UIViewController.

Syntax

[ObjCRuntime.Availability(Introduced=ObjCRuntime.Platform.iOS_5_0)]
[get: Foundation.Export("presentingViewController")]
[get: ObjCRuntime.Availability(Introduced=ObjCRuntime.Platform.iOS_5_0)]
public virtual UIViewController PresentingViewController { get; }

See Also

UIViewController.PresentedViewController

Value

The UIKit.UIViewController that is presenting this UIKit.UIViewController.

This value can be null.

Remarks

If this UIKit.UIViewController is being presented, this property holds the UIKit.UIViewController that is presenting it. Note that this is slightly asymmetrical to UIViewController.PresentedViewController which returns a value even if it is a descendant of this that is being presented.

Requirements

Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0