Skip to main content
Inspiring
September 10, 2011
Answered

coding prob. iOS soft keyboard doesn't retract

  • September 10, 2011
  • 1 reply
  • 906 views

I've made a neat little questionnaire for a client, running on Ipad2 with AIR for iOS 2.7  There are radio buttons for multiple choice answers to questions and a few text input fields for user info. My problem is that after I leave any of the text fields and press the "submit" button the keyboard stays out and can be put away only manually, with the little retract key in the lower right corner.

Anyone know how to code for this in AS3?

thanks, c.u.

This topic has been closed for replies.
Correct answer sanika Kulshreshtha

Could you try stage.focus = null?

Thanks,

Sanika

1 reply

sanika KulshreshthaCorrect answer
Participating Frequently
September 12, 2011

Could you try stage.focus = null?

Thanks,

Sanika

UmanoffAuthor
Inspiring
September 12, 2011

Thanks very much, Sanika. Just before your message arrived I stumbled on some Adobe documentation that suggested that. And, voila!, it works.

Craig Umanoff