title: ios move touch event between two uiscrollview
body: <p>I'm building an iOS layout which consists of a <code>UITableView</code> and a <code>UIScrollView</code>. The <code>UIScrollView</code> is inside a table cell of the <code>UITableView</code> and can be scrolled both horizontally and vertically. The diagram below shows this situation. If the user begins scrolling down/up on the <code>UIScrollView</code> the scrolling event should trigger <code>setContentOffset</code> of the table view, and not <code>setContentOffset</code> for the scroll view while the top of the scroll view will be on the dotted line (it's constant height). Then a scrolling touch event should trigger <code>setContentOffset</code> for the scroll view, not for the table view. </p>
  
  <p>In another case: When the user starts scrolling on the table view, it should trigger <code>setContentOffset</code> for the table view, until  the scroll view reaches the dotted line. Then the scroll view should handle <code>setContentOffset</code>. </p>
  
  <p>My problem is how to transfer touch events between the table view and the scroll view during one sliding action.   </p>
  
  <p><img src="https://i.stack.imgur.com/ybq72.png" alt="enter image description here"></p>