title: iOS - UIScrollView hitTest doesn't contain touches
body: <p>I have a UIScrollView with UIViews inside it. The UIScrollView has two-finger scroll enabled. The UIViews each have a panGestureRecognizer. I want the following functionality:</p>
  
  <p>If two-touch pan --> scroll.</p>
  
  <p>If single touch pan &amp;&amp; touch on a UIView --> fire UIView's panGestureRecognizer.</p>
  
  <p>I want to do this by overwriting UIScrollView's hitTest. If the number of touches is greater than 1, return the UIScrollView to possibly scroll. If the number of touches is 1, return the normal hitTest result to possibly fire UIView's panGestureRecognizer. But my UIScrollView's hitTest code never has any touches! (Although I successfully two-finger scroll, the hitTest doesn't have any touches.) </p>
  
  <pre><code>- (UIView *)hitTest:(CGPoint)point withEvent:(UIEvent *)event
  {
      NSSet *touches = [event touchesForView:self];
      NSLog(@"%@", touches);
      if ([touches count] &gt; 1)
      {
          return self;
      }
      UIView *usualView = [super hitTest:point withEvent:event];
      return usualView;
  }
  </code></pre>