Implement three proxy methods to
-(NSString *) TableView: (UITableView *) TableView Titlefordeleteconfirmationbuttonforrowatindexpath: (Nsindexpath *) Indexpath {return @"Delete";}-(Uitableviewcelleditingstyle) TableView: (UITableView *) TableView Editingstyleforrowatindexpath: (Nsindexpath *) indexpath{if(!indexpath.section)returnUitableviewcelleditingstylenone;//The first group of homes and companies do not provide left slip delete function returnUitableviewcelleditingstyledelete;}- (void) TableView: (uitableview*) TableView Commiteditingstyle: (uitableviewcelleditingstyle) Editingstyle Forrowatindexpath: (nsindexpath*) Indexpath {if(Editingstyle = =uitableviewcelleditingstyledelete) {[Self.commonplacearray removeObjectAtIndex:indexPath.row]; [Self.tableview Deleterowsatindexpaths:@[indexpath] Withrowanimation:uitableviewrowanimationa Utomatic]; [Self.tableview Reloaddata]; }}
TableView Left slide Delete function