ios 多选删除,

1,支持多选

    self.tableView.allowsMultipleSelectionDuringEditing = YES;

    [self.tableView setMultipleTouchEnabled:YES];

2,设置编辑状态 

[self.tableViewsetEditing:editting animated:YES];

3, 选中的效果

      NSIndexPath *myindexPath = [NSIndexPath indexPathForRow:i inSection:0];

      [self.tableView selectRowAtIndexPath:myindexPath animated:YES scrollPosition:UITableViewScrollPositionNone];

4,相关截图,

 

posted @ 2013-03-09 16:02  路在脚下,  阅读(243)  评论(0编辑  收藏  举报