标签: iphone keyboard
任何人都可以告诉我如何在iPhone而不是字符键盘上显示默认数字小键盘。
答案 0 :(得分:11)
[myTextField setKeyboardType:UIKeyboardTypeNumberPad];