Force numeric keyboard on iOS using actionscript 3 (in CS flash 5.5)

亡梦爱人 提交于 2019-12-13 06:52:50

问题


I have a textInput box called systolicInput. To record the users blood pressure.

When the user taps on the textInput the iOS virtual keyboard comes up. But it defaults to alphabetic input.

How can I force it to display the numeric input keyboard?

I am using ActionScript 3.

PS: Thanks for reading this post, and any insight will be very much appreciated :)


回答1:


Control of the keyboard type is possible in AIR 3 using the new StageText class. (You will have to manually update the AIR SDK to use it in Flash CS5.5. See http://kb2.adobe.com/cps/908/cpsid_90810.html for instructions.)



来源:https://stackoverflow.com/questions/7860486/force-numeric-keyboard-on-ios-using-actionscript-3-in-cs-flash-5-5

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!