diff --git a/internal/driver/mobile/app/darwin_ios.m b/internal/driver/mobile/app/darwin_ios.m index 4c34db92d4..6cce1d07a3 100644 --- a/internal/driver/mobile/app/darwin_ios.m +++ b/internal/driver/mobile/app/darwin_ios.m @@ -167,7 +167,7 @@ - (void)glkView:(GLKView *)view drawInRect:(CGRect)rect { #define TOUCH_TYPE_END 2 // touch.TypeEnd static void sendTouches(int change, NSSet* touches) { - CGFloat scale = [UIScreen mainScreen].scale; + CGFloat scale = [UIScreen mainScreen].nativeScale; for (UITouch* touch in touches) { CGPoint p = [touch locationInView:touch.view]; sendTouch((GoUintptr)touch, (GoUintptr)change, p.x*scale, p.y*scale);