UIKeyboardType---iOS

89 阅读1分钟
 1  UIKeyboardTypeDefault,                // Default type for the current input method.

keyboard_default.png

2  UIKeyboardTypeASCIICapable,           // Displays a keyboard which can enter ASCII characters

keyboard_ASCIICapable.png

3  UIKeyboardTypeNumbersAndPunctuation,  // Numbers and assorted punctuation.

keyboard_numbersAndPunctuation.png

 4 UIKeyboardTypeURL,                    // A type optimized for URL entry (shows . / .com prominently).

keyboard_URL.png

5  UIKeyboardTypeNumberPad,              // A number pad with locale-appropriate digits (0-9, ۰-۹, ०-९, etc.). Suitable for PIN entry.

keyboard_numberPad.png

6 UIKeyboardTypePhonePad,               // A phone pad (1-9, *, 0, #, with letters under the numbers).

keyboard_phonePad.png

7 UIKeyboardTypeNamePhonePad,           // A type optimized for entering a person's name or phone number.

keyboard_namePhonePad.png

8 UIKeyboardTypeEmailAddress,           // A type optimized for multiple email address entry (shows space @ . prominently).

keyboard_emailAddress.png

9 UIKeyboardTypeDecimalPad API_AVAILABLE(ios(4.1)),   // A number pad with a decimal point.

keyboard_decimalPad.png

10 UIKeyboardTypeTwitter API_AVAILABLE(ios(5.0)),      // A type optimized for twitter text entry (easy access to @ #)

keyboard_twitter.png

11 UIKeyboardTypeWebSearch API_AVAILABLE(ios(7.0)),    // A default keyboard type with URL-oriented addition (shows space . prominently).

keyboard_webSearch.png

12  UIKeyboardTypeASCIICapableNumberPad API_AVAILABLE(ios(10.0)), // A number pad (0-9) that will always be ASCII digits.

keyboard_ASCIICapableNumberPad.png

13 UIKeyboardTypeAlphabet = UIKeyboardTypeASCIICapable, // Deprecated

keyboard_alphabet.png