Joh*_*ith 12 iphone keyboard objective-c uitextfield
如何使用小数分隔符获取数字键盘?目前我被UIKeyboardNumberPad困住了.
typedef enum {
UIKeyboardTypeDefault,
UIKeyboardTypeASCIICapable,
UIKeyboardTypeNumbersAndPunctuation,
UIKeyboardTypeURL,
UIKeyboardTypeNumberPad,
UIKeyboardTypePhonePad,
UIKeyboardTypeNamePhonePad,
UIKeyboardTypeEmailAddress,
UIKeyboardTypeDecimalPad,
UIKeyboardTypeTwitter,
UIKeyboardTypeWebSearch,
UIKeyboardTypeAlphabet = UIKeyboardTypeASCIICapable // Deprecated
} UIKeyboardType;
Run Code Online (Sandbox Code Playgroud)
如果您不喜欢这些,您可以随时在代码中修改它们...
http://openradar.appspot.com/6635276
这有一个解决方案:http: //www.iphonedevsdk.com/forum/iphone-sdk-development/6573-howto-customize-uikeyboard.html
| 归档时间: |
|
| 查看次数: |
10254 次 |
| 最近记录: |