PFQueryTableViewController and commitEditingStyle scroll up

33 Views Asked by At

I have a PFQueryTableViewController with food information. When I scroll to the bottom of the table and swipe left (which calls commitEditingStyle), the table scrolls up so I don't see the cell I'm trying to delete anymore. If you have any ideas about what's happening I would really appreciate the help.

1

There are 1 best solutions below

0
On BEST ANSWER

Adding

- (void)tableView:(UITableView *)tableViewwillBeginEditingRowAtIndexPath:(NSIndexPath *)indexPath{
}
- (void)tableView:(UITableView *)tableView didEndEditingRowAtIndexPath:(NSIndexPath *)indexPath{
}

Solved the problem.