[iOS] Fix multitouch not working correctly
This commit is contained in:
parent
0393057e36
commit
15ef056997
1 changed files with 2 additions and 0 deletions
|
@ -154,6 +154,8 @@ static const float earth_gravity = 9.80665;
|
||||||
|
|
||||||
[self initTouches];
|
[self initTouches];
|
||||||
|
|
||||||
|
self.multipleTouchEnabled = YES;
|
||||||
|
|
||||||
// Configure and start accelerometer
|
// Configure and start accelerometer
|
||||||
if (!self.motionManager) {
|
if (!self.motionManager) {
|
||||||
self.motionManager = [[CMMotionManager alloc] init];
|
self.motionManager = [[CMMotionManager alloc] init];
|
||||||
|
|
Loading…
Add table
Reference in a new issue