title: How can I match UITouch objects in Obj-C with corresponding touch objects in WebKit JavaScript?
body: <p>I can't figure out a good way to match UITouch objects in UIKit to their corresponding touch objects in JavaScript.</p>
  
  <p>For UITouch, one typically uses the value returned by <code>hash</code> message to identify the UITouch instance across touch phases. In HTML / JavaScript, <code>touch.identifier</code> is used and is guaranteed to be an unique number across multiple touches.</p>
  
  <p>However, the numbers returned by <code>[aUITouch hash]</code> and <code>aTouch.identifier</code> are not related. Any ideas on how I can match touch objects received in JavaScript notifications with the UITouch objects received in Obj-C?</p>
  
  <p>Thanks.</p>