Quantcast
Channel: Adobe Community : All Content - AIR Development
Viewing all articles
Browse latest Browse all 2954

Soft Keyboard not working in iOS 7 / AIR 3.9

$
0
0

Hi,

 

I've been transitioning my app to the latest AIR 3.9 beta for iOS 7, and I'm running into a wild issue. None of the text fields trigger the virtual keyboard anymore. The cursor is blinking, and if I select different textfields, the cursor moves there. But the soft keyboard doesn't appear. Come to think of it, it's possible I already had this behavior in 3.8, which I didn't stay in for long for debugging reasons, so I never released in 3.8.

 

Here is the condensed code as it relates. First the text field is created and then it's activated. But even with multiple text fields on the screen, tapping between them doesn't trigger the keyboard.

 

// Creation

 

label.enabled = true;
label.autoCapitalize = AutoCapitalize.SENTENCE;
label.softKeyboardType = SoftKeyboardType.DEFAULT;

 

// Activation

 

label.setFocus();
label.needsSoftKeyboard = true;
label.requestSoftKeyboard();

 

Is there something I'm doing wrong that I'm missing that's maybe suddenly incompatible?

 

Thanks,

 

Per


Viewing all articles
Browse latest Browse all 2954

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>