Instance Method

dismissTextInputController

Dismisses the text input controller without returning any text.

Declaration

- (void)dismissTextInputController;

Discussion

Use this method to cancel a text input operation without accepting any input from the user. Dismissing the interface controller animates it off the screen and does not call the associated completion block.

See Also

Handling Text Input

- presentTextInputControllerWithSuggestions:allowedInputMode:completion:

Displays a modal interface for gathering text input from the user.

- presentTextInputControllerWithSuggestionsForLanguage:allowedInputMode:completion:

Displays a modal interface for gathering language-specific text input from the user.

WKTextInputMode

The input modes supported by the text input controller.