UIViewController.DismissModalViewController(Boolean) Method

Definition

Dismisses the modal view controller that was submitted by the receiver.

C#
[Foundation.Export("dismissModalViewControllerAnimated:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, "Use 'DismissViewController (bool, NSAction)' instead.")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void DismissModalViewController(bool animated);

Parameters

animated
Boolean

Boolean determining whether to animate the presentation or not.

Attributes

Applies to

Proizvod Verzije
Xamarin iOS SDK 12