Delete row from table and sqlite database

前端 未结 2 1621
感动是毒
感动是毒 2021-01-25 08:25

I still need your help.
I have this piece of code that doesn\'t want to work.

-(void)tableView:(UITableView *)_tableView commitEditingStyle:(UITableViewCellE         


        
2条回答
  •  故里飘歌
    2021-01-25 08:41

    You might want to swap around

    [tableView reloadData];
    [tableView endUpdates];
    

    to make it

    [tableView endUpdates];
    [tableView reloadData];
    

    Alternatively please tell us what the error message for the SIGABRT is.

提交回复
热议问题