Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>This would have to be a custom mirroring of intercepted touch events. Touch events follow the <a href="http://developer.apple.com/library/ios/#documentation/general/conceptual/Devpedia-CocoaApp/Responder.html" rel="nofollow noreferrer">responder chain model</a>, which means that if an object in the responder chain (the top most (outermost) view) cannot handle the event or action, it resends the message to the next responder (in this case the background <code>UITableView</code> in the chain). This is why you are seeing the horizontal events go to the horizontal <code>UITableView</code> and the vertical events going to the vertical <code>UITableView</code>. A diagonal touch event has applicable horizontal and vertical events, so the top-most view (the outer vertical UITableView) can respond to the vertical touches and swallows the event.</p> <p>If you think about it, all vertical touches likely have a little bit of horizontal events (think about when you flick your finger), so there is likely some work done in the background to determine how to interpret the touch event (either as a vertical or horizontal).</p> <p>I found this <a href="https://stackoverflow.com/questions/1207287/whats-the-trick-to-pass-an-event-to-the-next-responder-in-the-responder-chain">tread</a> on passing events down to the next object in the responder chain. You might want to give this a try as a partial solution to your puzzle. The rest is to figure out how to capture the horizontal touch events and pass them along to the next responder. </p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload