简体   繁体   English

消除IOS键盘后,Flash AIR输入文本清除值

[英]Flash AIR input text clears value after IOS keyboard is dismissed

I have an AIR for IOS app that has some text input fields. 我有一个AIR for IOS应用程序,其中包含一些文本输入字段。 The UI is created in Flash Pro and export a swc file for the AIR / Flex app to use. UI在Flash Pro中创建,并导出一个swc文件供AIR / Flex应用程序使用。

On IOS If I select the input field the IOS keyboard launches just fine but then when I dismiss the keyboard any text that I enter is cleared from that input field. 在IOS上如果选择输入字段,IOS键盘可以正常启动,但是当我关闭键盘时,输入的所有文本将从该输入字段中清除。

Assuming this is a TextInput , set the skinClass style to spark.skins.mobile.TextInputSkin . 假设这是一个TextInput ,则将skinClass样式设置为spark.skins.mobile.TextInputSkin This has been an issue with that component since Flex 4.6 and is fixed by using the mobile skin. 自Flex 4.6以来,该组件一直存在问题,并通过使用移动皮肤进行了修复。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM