Home > Article > Web Front-end > UITableView crashes when the page in editing state disappears_html/css_WEB-ITnose
When UITableView is in editing state, it will crash when the page it is on disappears.
Solution:
- (void)viewWillDisappear:(BOOL)animated
{
[super viewWillDisappear:YES] ;
//It will crash when the page in editing state disappears
[self.tableView setEditing:NO];
}