tags:

views:

96

answers:

1

How do I make the iPhone forget about UITouch events, or simulate a touchesCancelled event?

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