'jQuery mobile - iOS - How to detect when the keyboard is opening?

I'm working on a jQuery mobile site and need to update my layout when the iOS keyboard is showing up or hiding.

Is there some event I can bind to? Doesn't necessarily have to be a JQM event, any other would also suffice.

Thanks for help!



Solution 1:[1]

jQuery Mobile does not offer an event for when the iOS keyboard is opened. You can bind the focus and onblur events to handle this instead.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Kyle Pollard