title: Objective-c shouldRecognizeSimultaneouslyWithGestureRecognizer disable otherGestureRecognizer
body: <p>I have viewdeck controller and I can open left side-bar menu by swiping to the right. 
  For my center view controller, I also have uitableview. </p>
  
  <p>Problem is that I can swipe to right to open menu and I also can scroll my tableview at the same time. I need to allow only one gesture at one time. </p>
  
  <p>So, I check here</p>
  
  <pre><code>- (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldRecognizeSimultaneouslyWithGestureRecognizer:(UIGestureRecognizer *)otherGestureRecognizer;
  </code></pre>
  
  <p>I found out like this. I need to disable UIPanGestureRecognizer or UIScrollViewPanGestureRecognizer to allow only 1 gesture at one time. May I know how to do? </p>
  
  <pre><code>//(lldb) po gestureRecognizer
  //&lt;UIPanGestureRecognizer: 0x79eef4d0; state = Possible; view = &lt;UIView 0x79ee36e0&gt;; target= &lt;(action=panned:, target=&lt;IIViewDeckController 0x79edb1d0&gt;)&gt;&gt;
  
  //(lldb) po otherGestureRecognizer
  //&lt;UIScrollViewPanGestureRecognizer: 0x79ff32f0; state = Began; delaysTouchesEnded = NO; view = &lt;UITableView 0x7c301e00&gt;; target= &lt;(action=handlePan:, target=&lt;UITableView 0x7c301e00&gt;)&gt;&gt;
  </code></pre>