|
@@ -502,9 +502,11 @@ SDL_HideHomeIndicatorHintChanged(void *userdata, const char *name, const char *o
|
|
|
|
|
|
- (void)updateKeyboard
|
|
|
{
|
|
|
+ SDL_WindowData *data = (__bridge SDL_WindowData *)window->driverdata;
|
|
|
+
|
|
|
CGAffineTransform t = self.view.transform;
|
|
|
CGPoint offset = CGPointMake(0.0, 0.0);
|
|
|
- CGRect frame = UIKit_ComputeViewFrame(window, self.view.window.screen);
|
|
|
+ CGRect frame = UIKit_ComputeViewFrame(window, data.uiwindow.screen);
|
|
|
|
|
|
if (self.keyboardHeight) {
|
|
|
int rectbottom = self.textInputRect.y + self.textInputRect.h;
|