Hi, I have a customized UITableCell, and want to enable the swipe function to show delete button, how to do it?
Thanks
Hi, I have a customized UITableCell, and want to enable the swipe function to show delete button, how to do it?
Thanks
To make swipe-to-delete work you need to implement these three methods:
tableView:commitEditingStyle:forRowAtIndexPath:
tableView:canEditRowAtIndexPath:
tableView:editingStyleForRowAtIndexPath: