There was an error while loading. Please reload this page.
2 parents 116b9a1 + bd20732 commit 8ea33edCopy full SHA for 8ea33ed
src/ios/CDVIonicKeyboard.m
@@ -190,7 +190,8 @@ - (void)_updateFrame
190
_paddingBottom = _paddingBottom + 20;
191
}
192
NSLog(@"CDVIonicKeyboard: updating frame");
193
- CGRect f = [[UIScreen mainScreen] bounds];
+ // NOTE: to handle split screen correctly, the application's window bounds must be used as opposed to the screen's bounds.
194
+ CGRect f = [[[[UIApplication sharedApplication] delegate] window] bounds];
195
CGRect wf = self.webView.frame;
196
switch (self.keyboardResizes) {
197
case ResizeBody:
0 commit comments