textInputMode
The text input mode for this responder object.
Declaration
var textInputMode: UITextInputMode? { get }Discussion
The text input mode identifies the language and keyboard displayed when this responder is active.
For responders, the system normally displays a keyboard that’s based on the user’s language preferences. You can redefine this property and use it to return a different text input mode in cases where you want a responder to use a specific keyboard. The user can still change the keyboard while the responder is active, but switching away to another responder and then back restores the keyboard you specified.