How do I make the iPhone forget about UITouch events, or simulate a touchesCancelled
event?
views:
96answers:
1
A:
There is an undocumented method -_cancelAllTouches
in UIApplication which will cancel all active touches.
[[UIApplication sharedApplication] _cancelAllTouches];
Otherwise, I don't see a documented method to reliably get all active touches.
KennyTM
2010-10-18 19:28:45