title: didSelectRowAtIndexPath not being called because of UITapGestureRecognizer
body: <p>I'm using <code>UITapGestureRecognizer</code> to end editing (because that's the workaround I found useful to end editing on input keyboards that have no other way to do so, like the Decimal Pad). The problem is that inside that <code>viewController</code> I have a <code>tableView</code> (the <code>UITableViewDataSource</code> and <code>UITableViewDelegate</code> of that <code>tableView</code> are set to the <code>viewController</code>) and the method <strong><code>didSelectRowAtIndexPath</code></strong> is not being triggered.</p>
  
  <p>Code:</p>
  
  <pre><code>viewDidLoad {
     ...
     UITapGestureRecognizer *tapRecognizer = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(tap:)];
     [self.view addGestureRecognizer:tapRecognizer];
     ...
  }
  
  
  - (void)tap:(UIGestureRecognizer*)gr {
     [self.view endEditing:YES];
  }
  
  - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
     NSLog(@"Help!");
  }
  </code></pre>
  
  <p>I know the <code>UITapGestureRecognizer</code> is catching the selection, because if I comment out as following:</p>
  
  <pre><code>viewDidLoad {
     ...
     UITapGestureRecognizer *tapRecognizer = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(tap:)];
     //[self.view addGestureRecognizer:tapRecognizer];
     ...
  }
  </code></pre>
  
  <p>now the method the <strong><code>didSelectRowAtIndexPath</code></strong> finally triggers out.</p>
  
  <p>I need help with some good practices on how to workaround the "endEditing" or how to forward the tap gesture to the <code>tableView</code> so that the <strong><code>didSelectRowAtIndexPath</code></strong> triggers out.</p>
  
  <p>Thanks!</p>