---
title: dismissTextInputController()
framework: watchkit
role: symbol
role_heading: Instance Method
path: watchkit/wkinterfacecontroller/dismisstextinputcontroller()
---

# dismissTextInputController()

Dismisses the text input controller without returning any text.

## Declaration

```swift
func dismissTextInputController()
```

## Discussion

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

- [presentTextInputController(withSuggestions:allowedInputMode:completion:)](watchkit/wkinterfacecontroller/presenttextinputcontroller(withsuggestions:allowedinputmode:completion:).md)
- [presentTextInputControllerWithSuggestions(forLanguage:allowedInputMode:completion:)](watchkit/wkinterfacecontroller/presenttextinputcontrollerwithsuggestions(forlanguage:allowedinputmode:completion:).md)
- [WKTextInputMode](watchkit/wktextinputmode.md)
