3

The touchBegan method is not being called over my UIButton. I want both the UIButton and the touchesBegan method to share the touch. Is that possible? Right now when I click the button, only the button method is being called and it seems to "override" the touches method.

- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event {
 // not called over button
}

How would you enable both methods?

Undo
  • 25,519
  • 37
  • 106
  • 129

0 Answers0