Instance Property

keyboardType

The keyboard style associated with the text object.

Declaration

@property(nonatomic) UIKeyboardType keyboardType;

Discussion

Text objects can be targeted for specific types of input, such as plain text, email, numeric entry, and so on. The keyboard style identifies what keys are available on the keyboard and which ones appear by default. The default value for this property is UIKeyboardTypeDefault.

See Also

Configuring the Keyboard Appearance

UIKeyboardType

The type of keyboard to display for a given text-based view. Used with the keyboardType property.

keyboardAppearance

The appearance style of the keyboard that is associated with the text object

UIKeyboardAppearance

The appearance of the keyboard used by a text-based view. Used with the keyboardAppearance property.

returnKeyType

The visible title of the Return key.

UIReturnKeyType

The text string displayed in the Return key of a keyboard. Used with the returnKeyType property.

textContentType

The semantic meaning expected by a text input area.

UITextContentType

Constants that identify the semantic meaning expected for a text-entry area.