Skip to main content
Inspiring
August 30, 2012
Answered

Activating soft keyboard on iOS

  • August 30, 2012
  • 3 replies
  • 1459 views

Hi,

I've been searching the web, and just want to see if I can get a definitive answer here.  Is it true that if you run an iPad app developed in Air full screen that texfields will no longer activate the soft keyboard.  Initial test seem to confirm this.  Is there any work around?

Best regards,

Chris

This topic has been closed for replies.
Correct answer Pahup

Hi Chris,

Probably you've set your displayState to full screen and not the full screen interactive. Please see following for more details.

http://help.adobe.com/en_US/as3/dev/WS5b3ccc516d4fbf351e63e3d118a9b90204-7e31.html#WS2E9C7F3B-6A7C-4c5d-8ADD-5B23446FBEEB

Looks like you need to use stage.displayState = StageDisplayState.FULL_SCREEN_INTERACTIVE and not stage.displayState = StageDisplayState.FULL_SCREEN;

Please let us know if that sorts it.

-Thanks

Pahup

3 replies

Pahup
Adobe Employee
PahupCorrect answer
Adobe Employee
August 31, 2012

Hi Chris,

Probably you've set your displayState to full screen and not the full screen interactive. Please see following for more details.

http://help.adobe.com/en_US/as3/dev/WS5b3ccc516d4fbf351e63e3d118a9b90204-7e31.html#WS2E9C7F3B-6A7C-4c5d-8ADD-5B23446FBEEB

Looks like you need to use stage.displayState = StageDisplayState.FULL_SCREEN_INTERACTIVE and not stage.displayState = StageDisplayState.FULL_SCREEN;

Please let us know if that sorts it.

-Thanks

Pahup

Inspiring
September 4, 2012

Hi Pahup,

Thaanks for your reply.  That did the trick.  Now I can run full screen and the soft keyboard will appear when I click in a text field.  I tried setting the focus to the text field with the hope that this would make everything appear at once (the MovieClip containing the text field and the soft keyboard) but this did not work.  Any suggestions?  I've seen info that says you can't call the soft keyboard in iOS, but then I saw a lot of posts that said you couldn't use the soft keyboard while running full screen.

Thanks again,

Chris

Pahup
Adobe Employee
Adobe Employee
September 5, 2012

Would it be possible for you to share a sample code here.

-Pahup