From 78e84807e60dfaa7f0c42a60417dcafef3814f42 Mon Sep 17 00:00:00 2001 From: Duy Tran Khanh <40482367+khanhduytran0@users.noreply.github.com> Date: Fri, 17 Feb 2023 06:20:49 +0700 Subject: [PATCH] Fix #507: multipleTouchEnabled is not set --- Natives/SurfaceViewController.m | 1 + 1 file changed, 1 insertion(+) diff --git a/Natives/SurfaceViewController.m b/Natives/SurfaceViewController.m index f37b1141..49953e8a 100644 --- a/Natives/SurfaceViewController.m +++ b/Natives/SurfaceViewController.m @@ -104,6 +104,7 @@ BOOL slideableHotbar; self.surfaceView = [[GameSurfaceView alloc] initWithFrame:self.view.frame]; self.surfaceView.layer.contentsScale = screenScale * resolutionScale; self.surfaceView.layer.magnificationFilter = self.surfaceView.layer.minificationFilter = kCAFilterNearest; + self.surfaceView.multipleTouchEnabled = YES; self.touchView = [[UIView alloc] initWithFrame:self.view.frame]; self.touchView.backgroundColor = [UIColor colorWithRed:0 green:0 blue:0 alpha:0.1];