src/video/uikit/SDL_uikitview.m
branchiOS-improvements
changeset 9499 6fe9b44b2d84
parent 9488 f15520430c94
child 9501 574db299498f
     1.1 --- a/src/video/uikit/SDL_uikitview.m	Tue Jul 22 20:06:13 2014 -0300
     1.2 +++ b/src/video/uikit/SDL_uikitview.m	Wed Jul 23 01:28:24 2014 -0300
     1.3 @@ -395,7 +395,7 @@
     1.4                           queue:queue
     1.5                      usingBlock:^(NSNotification *notification) {
     1.6                          int height = 0;
     1.7 -                        CGSize keyboardSize = [[[notification userInfo] objectForKey:UIKeyboardFrameBeginUserInfoKey] CGRectValue].size;
     1.8 +                        CGSize keyboardSize = [[notification userInfo][UIKeyboardFrameBeginUserInfoKey] CGRectValue].size;
     1.9                          height = keyboardSize.height;
    1.10                          UIInterfaceOrientation ui_orient = [[UIApplication sharedApplication] statusBarOrientation];
    1.11                          if (ui_orient == UIInterfaceOrientationLandscapeRight || ui_orient == UIInterfaceOrientationLandscapeLeft) {