title: How to add a gesture recognizer to a UIWebView subclass?
body: <p>If I add a gesture recognizer to a subclassed <code>UIWebView</code> instance called <code>webView</code>, e.g.:</p>
  
  <pre><code>UILongPressGestureRecognizer *_longPressRecognizer = [[UILongPressGestureRecognizer alloc] initWithTarget:self action:@selector(webViewGestureRecognized:)];
  _longPressRecognizer.allowableMovement = 20;
  _longPressRecognizer.minimumPressDuration = 1.0f;
  [webView addGestureRecognizer:_longPressRecognizer];
  [_longPressRecognizer release], _longPressRecognizer = nil; 
  </code></pre>
  
  <p>The <code>-webViewGestureRecognized:</code> selector is not called when I perform a long press.</p>
  
  <p>I have overridden the delegate method <code>-gestureRecognizer:shouldRecognizeSimultaneouslyWithGestureRecognizer:</code> but the long-press selector is still not called.</p>
  
  <pre><code>- (BOOL) gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldRecognizeSimultaneouslyWithGestureRecognizer:(UIGestureRecognizer *)otherGestureRecognizer {
      return YES;
  }
  </code></pre>
  
  <p>Is there anything I can do to enable my own gesture recognizer on the web view?</p>