加载数据时,我设法使我的 UITableView 行/单元格变黑,以一种方式,我在行之间得到一条白线,这使它看起来很糟糕。我怎样才能让它们在有数据和没有数据的情况下完全变黑?
这是我目前正在使用的代码
- (void)tableView:(UITableView *)tableView willDisplayCell:
(UITableViewCell *)cell forRowAtIndexPath:(NSIndexPath *)indexPath {
cell.backgroundColor = [UIColor blackColor];
}
这是我得到的(剩下的白线):(