title: How to add a touch event to a UIView?
body: <p>How do I add a touch event to a UIView?<br>
  I try:</p>
  
  <pre><code>UIView *headerView = [[[UIView alloc] initWithFrame:CGRectMake(0, 0, tableView.bounds.size.width, nextY)] autorelease];
  [headerView addTarget:self action:@selector(myEvent:) forControlEvents:UIControlEventTouchDown];
  // ERROR MESSAGE: UIView may not respond to '-addTarget:action:forControlEvents:'
  </code></pre>
  
  <p>I don't want to create a subclass and overwrite</p>
  
  <pre><code>- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event
  </code></pre>