Enumeration

UIKeyboardType

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

Declaration

typedef enum UIKeyboardType : NSInteger {
    ...
} UIKeyboardType;

Topics

Constants

UIKeyboardTypeDefault

Specifies the default keyboard for the current input method.

UIKeyboardTypeASCIICapable

Specifies a keyboard that displays standard ASCII characters.

UIKeyboardTypeNumbersAndPunctuation

Specifies the numbers and punctuation keyboard.

UIKeyboardTypeURL

Specifies a keyboard optimized for URL entry. This keyboard type prominently features the period (“.”) and slash (“/”) characters and the “.com” string.

UIKeyboardTypeNumberPad

Specifies a numeric keypad designed for PIN entry. This keyboard type prominently features the numbers 0 through 9. This keyboard type does not support auto-capitalization.

UIKeyboardTypePhonePad

Specifies a keypad designed for entering telephone numbers. This keyboard type prominently features the numbers 0 through 9 and the “*” and “#” characters. This keyboard type does not support auto-capitalization.

UIKeyboardTypeNamePhonePad

Specifies a keypad designed for entering a person’s name or phone number. This keyboard type does not support auto-capitalization.

UIKeyboardTypeEmailAddress

Specifies a keyboard optimized for entering email addresses. This keyboard type prominently features the at (“@”), period (“.”) and space characters.

UIKeyboardTypeDecimalPad

Specifies a keyboard with numbers and a decimal point.

UIKeyboardTypeTwitter

Specifies a keyboard optimized for Twitter text entry, with easy access to the at (“@”) and hash (“#”) characters.

UIKeyboardTypeWebSearch

Specifies a keyboard optimized for web search terms and URL entry. This keyboard type prominently features the space and period (“.”) characters.

UIKeyboardTypeASCIICapableNumberPad

Specifies a number pad that outputs only ASCII digits.

UIKeyboardTypeAlphabet

Specifies a keyboard optimized for alphabetic entry.

See Also

Configuring the Keyboard Appearance

keyboardType

The keyboard style associated with the text object.

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.