Modally presents a view controller.
Syntax
[Foundation.Export("presentViewController:animated:completion:")]
[ObjCRuntime.Availability(Introduced=ObjCRuntime.Platform.iOS_5_0)]
public virtual
void PresentViewController (
UIViewController viewControllerToPresent,
bool animated, [ObjCRuntime.BlockProxy(typeof(ObjCRuntime.Trampolines/NIDAction))]
Action completionHandler)
Parameters
- viewControllerToPresent
- View controller that displays over the current view controller content.
- animated
- Boolean indicating whether to animate presentation or not.
- completionHandler
- Completion action to execute after the presentation finishes.
Remarks
Requirements
Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0