Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

wonza

macrumors member
Original poster
Oct 15, 2008
65
0
I'm trying properly handle multi touches. I have enabled multitouches property and I'm using touchesBegan, touchesMoved etc and I've run into the following scenario:

I get an event for touch A
Then an event for touch B

Then, I can track if a touch has been moved, but I dont know whether it was A or B that was moved. Any ideas on how to solve this?

Thanks
 
The UITouch object should be consistent during a touch. So store the pointer to this object, and then compare it with the touch object in touchesMoved().
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.