UIButton not getting touch events inside a custom UITableViewCell
- by user210504
Hi!
I have designed a custom UItableView Cell in IB. This cell has a UIButton with an associated action. This button is not getting touch events, however the cell itself gets the events when called.
What could I be doing wrong here.
+--------------------------------+
| +----------+
| Cell | Button |
| +----------+
+--------------------------------+
When I tap on the Button tableviewcell gets the events. What could be wrong?
EDIT:
I just checked, that UIButton is also getting touch events, but so is the UITableViewCell. And at then end of it the action associated with UIButton is not getting called.