How can I get the indexPath of UIButton in a customized tableViewCell?

Posted by Tzur Gazit on Stack Overflow See other posts from Stack Overflow or by Tzur Gazit
Published on 2010-03-18T07:36:08Z Indexed on 2010/03/18 7:41 UTC
Read the original article Hit count: 208

Filed under:

Hi. I created a tableViewCell the include an image, two text labels and a uibutton. The button is allocated to an action method (e.g. viewButtonPused:sender).

I'm used to handle row selection with tableView:didSelectRowAtIndexPath: so I could tell which row was selected. But with the uibutton and its action method .... How can I tell?

Thanks in advance.

© Stack Overflow or respective owner

Related posts about iphone