前面可多选的按钮不需要自己实现,UITableView已经封装好了,你只需要添加一个属性就可以了
self.tableView.allowsMultipleSelectionDuringEditing=YES;触发左侧按钮显示的动作
[self.tableView setEditing:YES animated:YES];获取多个选中行
NSArray *selectedRows=[self.tableView indexPathsForSelectedRows];
NSIndexPath *indexPath = selectedRows[0];   /////第一条记录