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?
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.