iOS 10: Work around screen bounds orientation bug. Fixes bugs #3465 and #3505.

This commit is contained in:
Alex Szpakowski
2017-08-18 23:23:30 -03:00
parent 2dc5d32fab
commit 3d0f521be5
2 changed files with 27 additions and 3 deletions

View File

@@ -293,8 +293,9 @@ SDL_AppleTVControllerUIHintChanged(void *userdata, const char *name, const char
- (void)keyboardWillHide:(NSNotification *)notification
{
if (!rotatingOrientation)
if (!rotatingOrientation) {
SDL_StopTextInput();
}
[self setKeyboardHeight:0];
}