title: Page-based application and gesture recognizer
body: <p>I have created a page-based application in Xcode 4, for iPad iOS5.</p>
  
  <p>When I run the app, I can see the pages in the book and can flip them back and forward,
  by tap on the screen or by moving the finger from left to right, or right to left.</p>
  
  <p>My problem is that no matter where I'm pressing in the screen, in the borders, the page turns.</p>
  
  <p>I had managed to cancel the flip with fingers with this code:</p>
  
  <pre><code>for (UIGestureRecognizer *gR in self.pageViewController.gestureRecognizers) 
  {
      if ([gR isKindOfClass:[UIPanGestureRecognizer class]]) 
      {
          [[gR view] removeGestureRecognizer:gR];
      }
  }
  </code></pre>
  
  <p>How can I define a specific area in the screen that when I tap on it, and only it, the page will turn?</p>
  
  <p>I ask this because I put toolbar in the bottom of the screen and when I click on a button in the toolbar the page flips.  I want to put 2 arrows on the screen that only when I press on them the page will flip.</p>
  
  <p>Sorry if my explanation is a little bit rusty.  Thank you all.</p>