I want to delete a row from table view without using the below data source method. How to do it?
- (void) tableView : (UITableView *)tableView
commitEditingStyle : (UITableViewCellEditingStyle)editingStyle
forRowAtIndexPath : (NSIndexPath *)indexPath
How about
[UITableView deleteRowsAtIndexPaths: withRowAnimation:]?(I’ve linked Apple’s documentation linked for you).
@Scar’s idea is also good, but that will refresh the entire table and that might be a bit disruptive to the user if they’re scrolled to the bottom of the table and the refresh takes them to the top.