UIKeyboardType - iPad

2022-06-02  本文已影响0人  简繁之间_来去自然
1  UIKeyboardTypeDefault,                // Default type for the current input method.
keyboard_default.png
2  UIKeyboardTypeASCIICapable,           // Displays a keyboard which can enter ASCII characters
keyboard_ascii.png
3  UIKeyboardTypeNumbersAndPunctuation,  // Numbers and assorted punctuation.
Snip20220602_10.png
4 UIKeyboardTypeURL,                    // A type optimized for URL entry (shows . / .com prominently).
Snip20220602_11.png
5  UIKeyboardTypeNumberPad,              // A number pad with locale-appropriate digits (0-9, ۰-۹, ०-९, etc.). Suitable for PIN entry.

Snip20220602_12.png

6 UIKeyboardTypePhonePad,               // A phone pad (1-9, *, 0, #, with letters under the numbers).
Snip20220602_13.png
7 UIKeyboardTypeNamePhonePad,           // A type optimized for entering a person's name or phone number.
Snip20220602_14.png
8 UIKeyboardTypeEmailAddress,           // A type optimized for multiple email address entry (shows space @ . prominently).
Snip20220602_15.png
9 UIKeyboardTypeDecimalPad API_AVAILABLE(ios(4.1)),   // A number pad with a decimal point.
Snip20220602_16.png
10 UIKeyboardTypeTwitter API_AVAILABLE(ios(5.0)),      // A type optimized for twitter text entry (easy access to @ #)
Snip20220602_17.png
11 UIKeyboardTypeWebSearch API_AVAILABLE(ios(7.0)),    // A default keyboard type with URL-oriented addition (shows space . prominently).
Snip20220602_18.png

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


Snip20220602_19.png
13 UIKeyboardTypeAlphabet = UIKeyboardTypeASCIICapable, // Deprecated
Snip20220602_20.png
上一篇 下一篇

猜你喜欢

热点阅读