For example, I started touching two fingers, namely:
UITouch * touch1 = [[[event allTouches] allObjects] objectAtIndex: 0];
UITouch * touch2 = [[[event allTouches] allObjects] objectAtIndex: 1];
When I add the third finger, the same access to
UITouch * touch1 = [[[event allTouches] allObjects] objectAtIndex: 0];
UITouch * touch2 = [[[event allTouches] allObjects] objectAtIndex: 1];
At this time touch1 and touch2 is not, and in front of the touch1 and touch2 same finger? I see from the results of the test are different.
That means a third hand when I put up, I how to get in front of two fingers, rather than third? ?
Reply:
Who will help out, just want to ignore the other fingers except two fingers in front of the event ..
Reply:
There is no order, because the store touch is NSSet, seems to be based on hash to store.
Did not order.
Reply:
Reply:
No comments:
Post a Comment