Quantcast
Channel: Adobe Community : Unanswered Discussions - AIR Development
Viewing all articles
Browse latest Browse all 2010

How to get Soft. Keyboard height on iOS & Androidios,

$
0
0

I have been struggling to get the correct height of the soft. keyboard height on iOS & Android.

There are some topics on the forum but they do not have any answer (Virtual keyboard height or Re: softKeyboardRect.height incorrectly returns 440 on android)

 

I am getting the height when the keyboard is activated via:

stage.softKeyboardRect.height

 

On iOS:

Height is returned correctly but on iOS 8, users can have custom keyboards, when such a keyboard is used (like swyft) the height returned is not not correct.

 

On Android:

Height is always wrong.

 

There is one ANE (freshplanet/ANE-KeyboardSize · GitHub) but currently works for android only.

 

Seeing that the height is part of AIR, it should work cross platform.

 

Any suggestions?


Viewing all articles
Browse latest Browse all 2010

Trending Articles



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