title: Disable pan in UIScrollView on pinch by 2 fingers
body: <p>I want to stop scrolling after detect second touch and handle touches with my own pinch gesture.
  I've tryed this in scroll view:</p>
  
  <pre><code>- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event
  {
      if(event.allTouches.count &gt; 2)self.panGestureRecognizer.enabled = NO;
  }
  - (void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event
  {
      if(event.allTouches.count &gt; 2)self.panGestureRecognizer.enabled = YES;
  }
  </code></pre>
  
  <p>But it's doesnt works.</p>
  
  <p>Try this:</p>
  
  <p><code>scroll.panGestureRecognizer.maximumNumberOfTouches = 1;</code></p>
  
  <p>But nothing</p>