Is there a way to turn off auxiliary indicators individually by row? I have a table that uses
- (UITableViewCellAccessoryType)tableView:(UITableView *)tableView accessoryTypeForRowWithIndexPath:(NSIndexPath *)indexPath { return UITableViewCellAccessoryDetailDisclosureButton; }
I need to disable it (remove the icon and not trigger the details disclosure event) for one line. I thought this would do it, but it has no result. The indicator still appears, and it still receives the event by touch.
cell.accessoryType = UITableViewCellAccessoryNone;
source share