---
title: documentInputMode
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uitextdocumentproxy/documentinputmode
---

# documentInputMode

The text-input mode for the keyboard.

## Declaration

```swift
var documentInputMode: UITextInputMode? { get }
```

## Discussion

Discussion Use the value of this key to configure the keyboard for the specified region and language.
