I am using a UITableView and the cells I am using in this view should do nothing when I click them. I can’t turn off UserInteraction though because then I am not able to click on the accessory (detailDisclosureButton). So how can I make them stop turning blue and still allow them to click on the accessory?
Share
By default, the
selectionStyleproperty of cell isUITableViewCellSelectionStyleBlue. Change it toUITableViewCellSelectionStyleNone.