12 Shades of Keyboard Types in iOS

Every iOS keyboard type, all in one place

Ryan NHP
Better Programming

--

As per Apple’s documentation, we’ve got 12 types of the iOS keyboard. Now, let’s look through all of them, I’ve jotted them down with screenshots to make it easy to understand.

1. .default

Specifies the default keyboard for the current input method.

2. .asciiCapable

Specifies a keyboard that displays standard ASCII characters.

You cannot input emojis with this keyboard type.

3. .numbersAndPunctuation

Specifies the numbers and punctuation keyboard.

4. .URL

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

5. .numberPad

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

6. .phonePad

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

7. .namePhonePad

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

8. .emailAddress

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

9. .decimalPad

Specifies a keyboard with numbers and a decimal point.

10. .twitter

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

11. .webSearch

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

You also get the Go button as return button.

12. .asciiCapableNumberPad

Specifies a number pad that outputs only ASCII digits.

Note: This is only available in iOS 10.0 or newer.

If you look at .numberPad and .asciiCapableNumberPad, you may understand that both are the same but when you use the Arabic keyboard, Kannada keyboard, Konkani keyboard you’ll see the difference, as in the image below.

Besides these, we also have the 13th type, which is .alphabet, but it is deprecated so I’m not going to cover that.

Thanks for reading!

--

--