src/video/uikit/SDL_uikitview.m
branchiOS-improvements
changeset 9503 bff6f1fecc5d
parent 9501 574db299498f
child 9505 6fc615dfc93f
     1.1 --- a/src/video/uikit/SDL_uikitview.m	Wed Jul 23 21:55:42 2014 -0300
     1.2 +++ b/src/video/uikit/SDL_uikitview.m	Wed Jul 23 22:35:14 2014 -0300
     1.3 @@ -387,9 +387,10 @@
     1.4  void _uikit_keyboard_set_height(int height) {
     1.5      SDL_uikitview *view = getWindowView(SDL_GetFocusWindow());
     1.6      if (view == nil) {
     1.7 -        return ;
     1.8 +        return;
     1.9      }
    1.10 -    
    1.11 +
    1.12 +    view.keyboardVisible = height > 0;
    1.13      view.keyboardHeight = height;
    1.14      _uikit_keyboard_update();
    1.15  }