So i've implemented the
- (BOOL)tableView:(UITableView *)tableView
canEditRowAtIndexPath:(NSIndexPath *)indexPath
and
- (void)tableView:(UITableView *)tableView
commitEditingStyle:(UITableViewCellEditingStyle)editingStyle
forRowAtIndexPath:(NSIndexPath *)indexPath
but how will i trigger something to switch the tableview to edit mode? like the messages in iphone when you click edit, the delete icons appear. this might sound very basic but i'm getting no clue over this and its a little urgent, any clue will be appreciated, thanks.
[tableView setEditing:YES animated:YES];
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With