Edit

Share via


WKInterfaceController.DismissTextInputController Method

Definition

Cancels text input and dismisses the text input controller.

[Foundation.Export("dismissTextInputController")]
public virtual void DismissTextInputController ();
abstract member DismissTextInputController : unit -> unit
override this.DismissTextInputController : unit -> unit
Attributes

Remarks

Calling this method cancels text input and prevents the completion handler specified in PresentTextInputControllerAsync(String[], WKTextInputMode) from running.

Applies to