【发布时间】:2012-06-29 16:50:05
【问题描述】:
UIKeyboardTypeNumberPad 在 iPad 上不显示数字键盘。相反,它显示 UIKeyboardTypeNumbersAndPunctuation 键盘。
是我遗漏了什么,还是从 iPad 操作系统中删除了?
感谢您的指导!
【问题讨论】:
-
并不是它被删除了,而是它从一开始就没有。您必须创建自己的键盘才能执行此操作。见:How do I retrieve keystrokes from a custom keyboard on an iOS app?
标签: iphone cocoa-touch uikit ipad