给tableviewcell加“勾选”
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
{
UITableViewCell *oneCell=[tableView cellForRowAtIndexPath:indexPath];
[oneCell setAccessoryType:oneCell.accessoryType==UITableViewCellAccessoryCheckmark?UITableViewCellAccessoryNone:UITableViewCellAccessoryCheckmark];
[tableView deselectRowAtIndexPath:indexPath animated:YES];
}