浏览代码

[iOS] Fix multitouch not working correctly

Sergey Minakov 3 年之前
父节点
当前提交
15ef056997
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      platform/iphone/godot_view.mm

+ 2 - 0
platform/iphone/godot_view.mm

@@ -154,6 +154,8 @@ static const float earth_gravity = 9.80665;
 
 	[self initTouches];
 
+	self.multipleTouchEnabled = YES;
+
 	// Configure and start accelerometer
 	if (!self.motionManager) {
 		self.motionManager = [[CMMotionManager alloc] init];