Prevent custom AccessoryView from showing selection when it's UITableViewCell is selected.

Posted by groomsy on Stack Overflow See other posts from Stack Overflow or by groomsy
Published on 2010-12-23T16:14:58Z Indexed on 2010/12/23 17:54 UTC
Read the original article Hit count: 160

To reproduce this, create a UITableView that contains cells with custom AccessoryViews (such as buttons to perform a specific action where touching the other part of the UITableViewCell should perform a different action).

If you touch (select) the UITableView, the AccessoryView shows selection (as thought it was touched) as well. I want to prevent this and only show the AccessoryView's selected state when they actually touch the AccessoryView.

Thanks in advance,

groomsy

© Stack Overflow or respective owner

Related posts about iphone

Related posts about objective-c