UIButton to intercept UITableView's didSelectRowAtIndexPath method

Posted by Michael on Stack Overflow See other posts from Stack Overflow or by Michael
Published on 2010-04-17T03:20:35Z Indexed on 2010/04/17 3:23 UTC
Read the original article Hit count: 373

Filed under:
|
|

I've got a UIButton on a table cell that is meant to pop up a UIActionSheet but the problem is the didSelectRowAtIndexPath captures that touch and its action takes precedence. Any clever way to override that action when the user touches the button and still have the default action when the user presses elsewhere in the cell?

Too bad there is no MoveToFront property.

© Stack Overflow or respective owner

Related posts about iphone

Related posts about uitableview