I use SDL 2.0.3. Holp SDL add some function about iOS/Android keyboard.
- Provide event that notify keyboard height changed.
It can include three scenario: 1)Open keyboard; 2)Change of Input Method
result to keyboard height change; 3)Close keyboard.
- Provide API that get current keyboard height.
So on application view, it can handle keyboard-height event to know Keyboard
open/close. And call get height API known current keyboard height to adjust
window placement.