From 72466d6b28a3f99c7fcc907731077cf5cdbc21d9 Mon Sep 17 00:00:00 2001 From: Nikolay Grebenshikov Date: Fri, 21 Aug 2015 16:49:52 +0600 Subject: [PATCH] Fix the multitouch support on iOS --- legacy/project/src/iPhone/UIStageView.mm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/legacy/project/src/iPhone/UIStageView.mm b/legacy/project/src/iPhone/UIStageView.mm index 5574aec3a..9e71a17cc 100644 --- a/legacy/project/src/iPhone/UIStageView.mm +++ b/legacy/project/src/iPhone/UIStageView.mm @@ -3437,7 +3437,7 @@ public: - (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event { - NSArray *touchArr = [touches allObjects]; + NSArray *touchArr = [[event allTouches] allObjects]; NSInteger touchCnt = [touchArr count]; for(int i=0;i