uitableview manually delete row
NSMutableIndexSet *indexes = [NSMutableIndexSet indexSet]; [array removeObjectAtIndex:indexPath.row]; if(![array count]) [indexes addIndex: indexPath.section]; Determine all of the indexPaths related to the rows to be deleted, then update the tableView as follows: [tableView beginUpdates]; [tableView deleteRowsAtIndexPaths:indexPaths withRowAnimation:UITableViewRowAnimationFade]; [tableView deleteSections:indexes withRowAnimation:UITableViewRowAnimationFade]; [tableView endUpdates];
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.