I have one partition table that contains a partition, and I want to delete the cell summary and delete this cell and remove this cell from the table, as well as delete from the array.
and how to animate it while deleting a cell.
for this code below, but which does not work, please help to do this.
- (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { if (editingStyle == UITableViewCellEditingStyleDelete) {
After much more R&D, I create new code and successfully executed
- (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { if (editingStyle == UITableViewCellEditingStyleDelete) {
}
-(void)tableReload{ [tbl reloadData]; }
iphone xcode uitableview
Nimit parekh
source share