title: Customizing UIPageViewController gesture recognizers Scroll behavior
body: <p>I want to implement <code>-(BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldReceiveTouch:(UITouch *)touch</code> <strong>gesture delegate</strong> in <strong>pageviewcontroller.m</strong> file but i can't get any gesture as:</p>
  
  <pre><code>NSArray *temp = self.gestureRecognizers;
  NSLog(@"count %i",temp.count); // this logs count 0 
  
  NSArray *temp = self.view.gestureRecognizers;
  NSLog(@"count %i",temp.count);  // this also logs count 0 
  
  for (UIGestureRecognizer *gR in temp) {
      gR.delegate = self;
  }
  </code></pre>
  
  <p>in above code self is pointing towards pageviewcontroller.</p>
  
  <p>therefore i can't assign delegate to pageviewcontroller gestures.</p>
  
  <p><strong>Edited Part:</strong></p>
  
  <p>OK I got it, I am not getting any gesture object because of uipageviewscroll style.</p>
  
  <p>But I have a problem I need to disable pageviewcontroller <strong>pan gesture</strong> and need to scroll the pageviewcontroller from two buttons, like if user try to pan, and it's starting point is inside my uibuttons frame then pageviewcontroller should scroll otherwise not.</p>
  
  <p>I am using transitionStyle <strong>UIPageViewControllerTransitionStyleScroll</strong>.</p>
  
  <p>Any solution for this...
  Thanks in advance</p>