标签:
NSArray *array = [self.tableVeiw visibleCells];//获取正在使用的 cell
for (UITableViewCell *cell in array) {
UIButton *buton = (UIButton *)[cell viewWithTag:101];
buton.selected = NO;
}
UITableViewCell *cell = [tableView cellForRowAtIndexPath:indexPath];
UIButton *buton = (UIButton *)[cell viewWithTag:101];
buton.selected = YES;
标签:
原文地址:http://www.cnblogs.com/106dapeng/p/5578291.html