Open RajChanchal opened 8 years ago
I uncommented the two methods related to row deletion: -(BOOL)tableView:(UITableView )tableView canEditRowAtIndexPath:(NSIndexPath )indexPath { return YES; }
But how can I differentiate whether it is subRow to delete or not? And what is the way to call the right indexPath on tableView to delete a row?
[tblView deleteRowsAtIndexPaths:@[indexPath] withRowAnimation:UITableViewRowAnimationFade];
I uncommented the two methods related to row deletion: -(BOOL)tableView:(UITableView )tableView canEditRowAtIndexPath:(NSIndexPath )indexPath { return YES; }
But how can I differentiate whether it is subRow to delete or not? And what is the way to call the right indexPath on tableView to delete a row?