PFQueryTableViewController 和 commitEditingStyle 向上滚动

PFQueryTableViewController and commitEditingStyle scroll up

我有一个带有食物信息的 PFQueryTableViewController。当我滚动到 table 的底部并向左滑动(调用 commitEditingStyle)时,table 向上滚动,所以我看不到我试图删除的单元格了。如果您对正在发生的事情有任何想法,我将非常感谢您的帮助。

正在添加

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

问题解决了。