I'm having trouble keeping track of touches on the iPhone, sometimes touches gets "lost" due to some kind of hardware limitation. It can happen when the user is cluttering the device with more touches than it can handle.
This means the number of touches reported by touchesBegan does not necessarily equal the number of touches reported by touchesEnded and touchesCancelled, which makes trouble for my gesture detecting system, in the worst case freezing my app as it is waiting for touches to end that will never be reported to end.
Is there a way to detect with 100% certainty that nothing is touching the display? This way I could work around the issue by resetting dead touches every time the screen is clean.