title: Disable swipe in UIPageViewController
body: <p>I have a <code>UIViewController</code> with <code>UIPageViewController</code> variable.  </p>
  
  <p>I am trying to disable the swiping for the <code>UIPageViewController</code> for certain positions on screen. I am doing this by setting the <code>UIViewController</code> as a UIGestureRecognizerDelegate and setting the gesture recognizers in the <code>UIPageViewController</code> delegate to self (the <code>UIViewController</code>). I can't seem to find where the gesture recognizers are or get loaded for the <code>UIPageViewController</code>. </p>
  
  <p>I've tried these three places and all come up empty in the <code>viewDidLoad</code> method:</p>
  
  <pre><code>println("gesture\(self.pageViewController!.gestureRecognizers)")
  println("gesture\(self.view.gestureRecognizers)")
  println("gesture\(self.pageViewController!.view.gestureRecognizers)")
  </code></pre>
  
  <p>UPDATE*******************:</p>
  
  <p>so I found some UIGestureRecognizers hiding in the navigationController, but adding them as delegates and running the code below does nothing. Is it because I have the wrong UIGestureRecognizers. There is one in there that is a UIPanGestureRecognizer as well. Why don't I get any recognizers in my page controller or the view of my page controller?</p>
  
  <pre><code>func gestureRecognizer(gestureRecognizer: UIGestureRecognizer, shouldReceiveTouch touch: UITouch) -&gt; Bool {
      println("Should recieve touch")
      return false
  }
  </code></pre>
  
  <p>I am getting the "Should receive touch" to print to the logs but I return false and no swiping is disabled. What am I doing wrong?</p>