thailey01 thailey01 - 1 month ago 5x
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.



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

Solved the problem.