Text area input rect SDL2 iphone |
Text area input rect SDL2 iphone |
Alex Szpakowski
Guest
|
On iOS, SDL_SetTextInputRect sets the rectangle where your text is showing up in window-space coordinates. SDL will make sure the area covered by that rectangle is always visible even with the keyboard active (so it might push the window up if the keyboard was going to cover that area.)
Also make sure you’re using the latest SDL source code, since SDL 2.0.3 had some issues with the on-screen keyboard on modern iOS versions.
|
|||||||||||||
|