thailey01 thailey01 - 2 months ago 8
iOS Question

PFQueryTableViewController and commitEditingStyle scroll up

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.

Answer

Adding

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

Solved the problem.

Comments