title: uibutton with touchesBegan
body: <p>I use <code>touchesBegan:withEvent:</code> to get the touches of the user in the screen but when i touch a button this method isn't called. Is there any way to identify which button was clicked?</p>
  
  <p><strong>edit:</strong></p>
  
  <pre><code>-(void)touchesBegan:(NSSet*)touches withEvent:(UIEvent*)event
  {
  
      UITouch *touch = [[touches allObjects] objectAtIndex:0];
      CGPoint finger = [touch locationInView:self];
      int x = finger.x;
      int y = finger.y;
  
  }
  </code></pre>
  
  <p>This is the <code>touchesBegan:withEvent:</code> method. I gave each UIButton a tag number. And I did connect the UIButton in the interface builder.</p>