UIKit.UIViewController.PresentModalViewController Method
Application developers should use UIViewController.PresentViewController instead of this deprecated method.

Syntax

[Foundation.Export("presentModalViewController:animated:")]
[ObjCRuntime.Availability(Deprecated=ObjCRuntime.Platform.iOS_6_0, Introduced=ObjCRuntime.Platform.iOS_2_0, Message="Deprecated in iOS 6.0, use PresentViewController (UIViewController, bool, NSAction) instead and set the ModalViewController property to true.")]
public virtual void PresentModalViewController (UIViewController modalViewController, bool animated)

Parameters

modalViewController
The UIKit.UIViewController to be presented.
animated
true if the presentation should be animated.

Remarks

This method is deprecated and application developers should use UIViewController.PresentViewController instead.

Requirements

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