title: Use interactivepopgesturerecognizer with CollectionView with horizontal scroll when navigation bar is hidden
body: <p>i'm trying to use the interactivepopgesturerecognizer to go back in a view in which i have also a UICollectionView with horizontal scrolling, and the problem is that in the frame of the collection view the swipe to go back doesn't work, but works when the touch begin out of the frame of the collection view, this is an example of my view:</p>
  
  <pre><code>| ---&gt; here works
  |-----------
  |
  | ---&gt; This is the collection view and doesn't swipe to go back
  |
  |-----------
  | ---&gt; here works
  </code></pre>
  
  <p>how i can solve the problem?</p>
  
  <p><strong>EDIT</strong>: i realized that this problem occurs only when in the pushed view the nav bar is hidden, and when is hidden the swipe to go back doesn't work in all view not only in the collection view, and to make it work i need to add this line:</p>
  
  <pre><code>[self.navigationController.interactivePopGestureRecognizer setDelegate:nil];
  </code></pre>
  
  <p>in the main view, but in this way i can't swipe to go back in the collection view.
  i have created a simple test to check the problem:</p>
  
  <p><a href="https://www.dropbox.com/s/c7ueyrcmm2x1m5w/TestSwipe.zip?dl=0" rel="noreferrer">https://www.dropbox.com/s/c7ueyrcmm2x1m5w/TestSwipe.zip?dl=0</a> </p>