title: Handling touch events within a child UIScrollView
body: <p>I'm displaying a series of images in a UIScrollView. I pretty much want to replicate the Photos application.</p>
  
  <p>My current architecture is:
  <li> A parent UIScrollView with content size that is wide enough for <i>x</i> number of pages + some extra space for margins in between the images.</li>
  <li> Each image is contained in a UIImageView.</li>
  <li> Each UIImageView is contained within its own UIScrollview which are then the subviews of the parent UIScrollView.</p>
  
  <p>So I basically have a row of UIScrollViews within a parent UIScrollView.</p>
  
  <p>The parent UIScrollView has paging enabled so I can scroll from page to page without any problems.</p>
  
  <p>The problem is how to seamlessly pan around a zoomed-in image. I have overridden the <code>viewForZoomingInScrollView</code> method to return the appropriate UIImageView when the user pinches in/out. I have overriden the <code>scrollViewDidEndZooming</code> method to set the parent view's <code>canCancelContentTouches</code> property to <code>NO</code>  if the zoom scale is greater than 1. </p>
  
  <p>So users are able to pan around an image. However, they must hold their finger down for a moment to get past the small delay the parent scroll view has before sending touch events down to the subviews. Also, once the user is panning in one image, the next/prev images do not enter the viewable area when the user has reached the border of the current image.</p>
  
  <p>Any ideas?</p>
  
  <p>Thanks.</p>