Skip to main content
Inspiring
February 9, 2012
Question

Font in textinput=very small, iOS

  • February 9, 2012
  • 1 reply
  • 529 views

(Flash cs 5.5, iOS, iPhone)

New problem

So I use: needsSoftKeyboard= true; requestSoftKeyboard(); to show the keyboard on my highscore-screen, where the user write the name in a textinput-field. The problem is that the font is so small. If I skip "needsSoftKeyboard= true; requestSoftKeyboard();", so the user must click on the textinput-field to write (then the keyboard shows), then the font is normal.

Any tip?

This topic has been closed for replies.

1 reply

gronli21Author
Inspiring
February 10, 2012

[update]

I managed to get the right font by using a delay-timer before calling needsSoftKeyboard= true;requestSoftKeyboard();

However it takes some extra time before the keyboard shows the first time. The second time it shows instantly.

Is there a way to 'cache' the calling of the keyboard? When my game starts, it plays a silent sound to active the 'sound system', or else there's a delay when the first sound is played.