iOS - SDL_SetTextInputRect

Hello guys,

I’m having an issue with this function on iOS - it does not move the OpenGL view as it does on Android (depending on the location of the rect so the keyboard does not hide the given rect) so is it a bug or something done on purpose and if so what is the point of this function on iOS if it doesn’t work the same way as on Android?

Anything?

bump

At least can anyone confirm the problem?

So I haven’t tried it, but I’m not surprised by this behavior. On iOS,
when using raw UIViews, things do not automatically shift depending on
the keyboard presentation. I think Android does shift things.

If you put things in UIScrollViews, then things automatically shift on
iOS, but putting an OpenGL view in a Scroll View may result in an
undesirable performance loss, even when not scrolled.

I don’t know if there is a general solution to this issue that doesn’t
introduce different unacceptable trade-offs.

Thanks,
EricOn 11/22/13, .3lite wrote:

At least can anyone confirm the problem?


Beginning iPhone Games Development
http://playcontrol.net/iphonegamebook/

I believe it was fixed in a recent commit: https://hg.libsdl.org/SDL/rev/e4d2f3375868On Nov 22, 2013, at 4:32 PM, .3lite wrote:

At least can anyone confirm the problem?


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org