Instance Property

textInputMode

The text input mode for this responder object.

Declaration

@property(nonatomic, readonly, strong) UITextInputMode *textInputMode;

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 is 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.

See Also

Managing the Text Input Mode

textInputContextIdentifier

An identifier signifying that the responder should preserve its text input mode information.

+ clearTextInputContextIdentifier:

Clears text input mode information from the app’s user defaults.

inputAssistantItem

The input assistant to use when configuring the keyboard’s shortcuts bar.