Protocol

UIKeyInput

A set of methods a subclass of UIResponder uses to implement simple text entry.

Declaration

@protocol UIKeyInput

Overview

When instances of this subclass are the first responder, the system keyboard is displayed. Only a small subset of the available keyboards and languages are available to classes that adopt this protocol.

Topics

Inserting and Deleting Text

- insertText:

Insert a character into the displayed text.

Required.

- deleteBackward

Delete a character from the displayed text.

Required.

hasText

A Boolean value that indicates whether the text-entry objects has any text.

Required.

Relationships

Inherits From

See Also

Input

UITextInput

A set of methods you implement to interact with the text input system and enable features such as autocorrection and multistage text input in documents.

UITextInputDelegate

An intermediary between a document and the text input system.

UITextInputTokenizer

A tokenizer, which is an object that allows the text input system to evaluate text units of different granularities.

UITextInputMode

The current text-input mode.

UITextInputStringTokenizer

A base implementation of the UITextInputTokenizer protocol.

UIDictationPhrase

An object that represents the textual interpretation of a spoken phrase as dictated by a user.

UIInputView

An object that displays and manages custom input for a view when that view becomes the first responder.