Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Detecting if in editing mode, or just editing a single table row alternative
- (void)tableView:(UITableView *)tableView willBeginEditingRowAtIndexPath:(NSIndexPath *)indexPath {
[super setEditing:YES animated:YES];
}
- (void)setEditing:(BOOL)editing animated:(BOOL)animated {
[super setEditing:editing animated:animated];
// Adjust toolbar etc. acordingly
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment