Custom UITableViewCell with UIButton: which button has been clicked?
|    I'm developing an iOS 4 application with latest SDK and XCode 4.2. I have a  This is my code:   When user touch inside that button, how can I know on which section and row was the cell that has been clicked?  | |||||
 feedback  | 
4    | Place a tag on the button. For example:     You will need to change your selector to  You can then add something like the following to       | ||||||||||
   feedback  | 
2    | Set button's target to a method in the cell instead of setting the target to the controller itself, create a delegate protocol for the cell with a method like  Then in controller's delegate method implementation you can find out cell's   | ||||
 feedback  | 
0    |      | |||
 feedback  | 
0    | BNRXIBCell is an excellent solution, for iOS 5 and above. It's a UITableViewCell subclass, intended to be subclassed, to forward action messages from cell subviews to a controller.  | ||