Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何在钛合金(sdk 3.1.3)中仅使用带有数字的键盘
因为这是错误的:
KEYBOARDTYPE: Ti.UI.KEYBOARD_NUMBER_PAD
我相信正确的语法是
keyboardType: Ti.UI.KEYBOARD_NUMBER_PAD
在我的应用程序中它完美的工作。尝试小写(KEYBOARDTYPE)或添加returnKeyType。