选中某个单元格

  NSArray *array = [self.tableVeiw visibleCells];//获取正在使用的 cellit

    for (UITableViewCell  *cell in array) {table

       UIButton *buton = (UIButton *)[cell viewWithTag:101];select

        buton.selected = NO;tab

    }view

    

    UITableViewCell *cell =  [tableView cellForRowAtIndexPath:indexPath];vi

    UIButton *buton = (UIButton *)[cell viewWithTag:101];index

    buton.selected = YES;ab

相关文章
相关标签/搜索