UIKeyboardType

 1 typedef NS_ENUM(NSInteger, UIKeyboardType) {
 2     UIKeyboardTypeDefault,                // Default type for the current input method.
 3     UIKeyboardTypeASCIICapable,           // Displays a keyboard which can enter ASCII characters, non-ASCII keyboards remain active
 4     UIKeyboardTypeNumbersAndPunctuation,  // Numbers and assorted punctuation.
 5     UIKeyboardTypeURL,                    // A type optimized for URL entry (shows . / .com prominently).
 6     UIKeyboardTypeNumberPad,              // A number pad (0-9). Suitable for PIN entry.
 7     UIKeyboardTypePhonePad,               // A phone pad (1-9, *, 0, #, with letters under the numbers).
 8     UIKeyboardTypeNamePhonePad,           // A type optimized for entering a person's name or phone number.
 9     UIKeyboardTypeEmailAddress,           // A type optimized for multiple email address entry (shows space @ . prominently).
10     UIKeyboardTypeDecimalPad NS_ENUM_AVAILABLE_IOS(4_1),   // A number pad with a decimal point.
11     UIKeyboardTypeTwitter NS_ENUM_AVAILABLE_IOS(5_0),      // A type optimized for twitter text entry (easy access to @ #)
12     UIKeyboardTypeWebSearch NS_ENUM_AVAILABLE_IOS(7_0),    // A default keyboard type with URL-oriented addition (shows space . prominently).
13 
14     UIKeyboardTypeAlphabet = UIKeyboardTypeASCIICapable, // Deprecated
15 
16 };

 

 

posted @ 2016-03-22 15:05  Kingdev  阅读(515)  评论(1编辑  收藏  举报