Upravit

Sdílet prostřednictvím


UIViewController.DismissModalViewController(Boolean) Method

Definition

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

[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);
abstract member DismissModalViewController : bool -> unit
override this.DismissModalViewController : bool -> unit

Parameters

animated
Boolean

Boolean determining whether to animate the presentation or not.

Attributes

Applies to