src/video/uikit/SDL_uikitviewcontroller.m
changeset 11497 65698434e30d
parent 11327 770196e01af1
child 11782 98ea6e4c0d68
     1.1 --- a/src/video/uikit/SDL_uikitviewcontroller.m	Thu Sep 14 08:37:27 2017 -0400
     1.2 +++ b/src/video/uikit/SDL_uikitviewcontroller.m	Thu Sep 14 09:55:27 2017 -0700
     1.3 @@ -281,7 +281,7 @@
     1.4  - (void)keyboardWillShow:(NSNotification *)notification
     1.5  {
     1.6  #if !TARGET_OS_TV
     1.7 -    CGRect kbrect = [[notification userInfo][UIKeyboardFrameBeginUserInfoKey] CGRectValue];
     1.8 +    CGRect kbrect = [[notification userInfo][UIKeyboardFrameEndUserInfoKey] CGRectValue];
     1.9  
    1.10      /* The keyboard rect is in the coordinate space of the screen/window, but we
    1.11       * want its height in the coordinate space of the view. */