iOS: When a keyboard appears, the window will shift upward so that the selected native textfield/textbox sits above the keyboard.

In the latest daily build there is this screen shift function when the keyboard opens for a selected native text field/box. Does this always happen automatically or is it optional? 

I would have thought it better to make it optional, or just return a keyboard height value. What happens if there are multiple fields on the screen? Or if the fields are off-screen to allow text input in a more controlled fashion?

My current business app manually shifts the screen upwards after calculating an approximate keyboard height as it has to work on both Android and iOS. I know from other threads that iOS is able to return the keyboard height more easily than Android, so I assume this is why it is an iOS feature only at the moment, but is there a plan to make it work for Android devices as well?

I am concerned that this change may possibly break more than it fixes? I haven’t tried this yet on my current app yet, as I’m close to publishing and don’t want to take the risk, but equally I have to support this for the next year so want to keep up-to-date with daily builds.

Stefan

Good questions. I have similar concerns and have identified a few bugs already, see my post.

There are multiple threads about this topic.  Please go here to continue the conversation:

http://forums.coronalabs.com/topic/50905-detect-keyboard-height/

Thanks

Rob

Good questions. I have similar concerns and have identified a few bugs already, see my post.

There are multiple threads about this topic.  Please go here to continue the conversation:

http://forums.coronalabs.com/topic/50905-detect-keyboard-height/

Thanks

Rob