views:

38

answers:

1

Hi all,

Is it possible to delete a cell with swipe action on it ?

Or are there any other methods for doing so ?

Need Suggestions .

Thanks

+2  A: 
- (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath {

   if (editingStyle == UITableViewCellEditingStyleDelete) {
     // Remove the cell
   }   
}
Tom Irving