thailey01 thailey01 - 1 year ago 83
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 Source


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

Solved the problem.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download