TKP*_*TKP 5 uitableview ios
我从情节提要中更改了单元格的颜色(未使用任何代码),但是正如您在此图中看到的:
空单元格默认保持白色。我也想将那些空单元格更改为红色,但是我很难弄清楚。我也在代码设置cell.backgroundColor = [UIColor redColor];中没有成功。
cell.backgroundColor = [UIColor redColor];
nmh*_*nmh 7
您只需设置 tableView 的 backgroundColor: yourTableView.backgroundColor = [UIColor redColor];
yourTableView.backgroundColor = [UIColor redColor];
归档时间:
11 年,3 月 前
查看次数:
1914 次
最近记录:
8 年,8 月 前