So I implemented
- (BOOL)tableView:(UITableView *)tableView
canEditRowAtIndexPath:(NSIndexPath *)indexPath
and
- (void)tableView:(UITableView *)tableView
commitEditingStyle:(UITableViewCellEditingStyle)editingStyle
forRowAtIndexPath:(NSIndexPath *)indexPath
but how can I call something to switch the table view to edit mode? like iphone messages, when you click βEditβ, delete icons appear. it may seem very simple, but I donβt understand what it is, and its a little urgent, any key will be appreciated, thanks.
source
share