title: How to zoom a UIScrollView inside of a UICollectionViewCell?
body: <p>I'm trying to add a <code>UIScrollView</code> inside of a <code>UICollectionViewCell</code>. The idea is that you can use pinch to zoom the <code>UIScrollView</code> (and with it, the image within), but the scrollview doesn't seem to handle any gesture. I'm guessing they are being caught by the <code>UICollectionView</code>.</p>
  
  <p>I've set the delegate of the <code>UIScrollView</code> to be the <code>UICollectionViewCell</code>, but none of the delegate methods are being called.</p>
  
  <p>EDIT:
  I've made a github repo with the code (simplified as much as I could). Even though it's just a few lines of code, I cannot see what I did wrong.</p>
  
  <p>EDIT2: After the answer was found, I added the fixes to the above-mentioned repo, hope others find it helpful too :)</p>
  
  <p><a href="https://github.com/krummler/gallery-pinchzoom-example">https://github.com/krummler/gallery-pinchzoom-example</a></p>