UIViewController.ModalViewController UIViewController.ModalViewController Property

Definition

Controller for the active presented view.

[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, "Use 'PresentedViewController' instead.")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[get: Foundation.Export("modalViewController")]
[get: ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, "Use 'PresentedViewController' instead.")]
[get: ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual UIKit.UIViewController ModalViewController { get; }
member this.ModalViewController : UIKit.UIViewController

Property Value

Remarks

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

Applies to

See also