UIKit.UIViewController.ModalViewController Property
Controller for the active presented view.

Syntax

[ObjCRuntime.Availability(Deprecated=ObjCRuntime.Platform.iOS_6_0, Introduced=ObjCRuntime.Platform.iOS_2_0, Message="Use PresentedViewController instead.")]
[get: Foundation.Export("modalViewController")]
[get: ObjCRuntime.Availability(Deprecated=ObjCRuntime.Platform.iOS_6_0, Introduced=ObjCRuntime.Platform.iOS_2_0, Message="Use PresentedViewController instead.")]
public virtual UIViewController ModalViewController { get; }

See Also

UIViewController.PresentedViewController

Value

The active presented UIKit.UIViewController.

Remarks

Application developers should not use this deprecated property. Instead, they should use UIViewController.PresentedViewController.

Requirements

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