title: How to block tap gesture on UIPageViewController with Scroll TransitionStyle
body: <p>I want to block the tap gesture (perfectly just the left border one, but both will be also fine, I will just add button for it) which is responded for changing pages in <code>UIPageViewController</code>. </p>
  
  <p>I already tried this solution in 'viewDidLoad' method: </p>
  
  <pre><code>for recognizer in gestureRecognizers {
      if recognizer is UITapGestureRecognizer {
          recognizer.isEnabled = false
      }
  }
  </code></pre>
  
  <p>But it worked only for the case when <code>TransitionStyle</code> is set for <code>Page Curl</code>, in my case I need to use <code>Scroll TransitionStyle</code>.</p>
  
  <p>Ps. I also found a comment in <code>UIPageViewController</code> implementation that <code>gestureRecognizers</code> are populated only if transition style is <code>UIPageViewControllerTransitionStylePageCurl</code> so there will be needed some bigger "hack", hope you can help me with it.</p>
  
  <p>Pps. Yes I found this - <a href="https://stackoverflow.com/questions/13103613/uipageviewcontroller-returns-no-gesture-recognizers-in-ios-6">UIPageViewController returns no Gesture Recognizers in iOS 6</a> . solution but it's pretty old and in objC and I would be glad to use Swift here. </p>
  
  <p>Ppps. Setting <code>dataSource</code> on <code>nil</code> won't work - I need swipe gesture. </p>