Size and position of the mobile keyboard on the screen

#1

Is there any way to get this info?

0 Likes

#2

Nope. I did a bit of Googling and it doesn’t seem like a trivial thing to measure the virtual keyboard. Do you need this to move the UI so that an input field stays visible?

0 Likes

#3

Yes.

0 Likes

#4

I just tried this solution for ios https://stackoverflow.com/a/22719225/6389348 and it works for me, I can make NE if you want.

2 Likes

#5

No, thanks. For iOS this is clearly described in the documentation.
I thought that in Defold you can get this data (for every platform) out of the box, and I just did not notice where it is in docs.

0 Likes

#6

its different for different mobiles… no fixed dimensions.

0 Likes