A simple JosephH option for memory.
If you just want to create a decorative β+β button and continue using the original didSelectRowAtIndexPath trigger, use:
UIButton *button = [UIButton buttonWithType:UIButtonTypeContactAdd]; [button setUserInteractionEnabled:NO]; cell.accessoryView = button;
By disabling the userβs interaction with the button, it will propagate the pressure event on the basic view: cell.
source share