有没有办法以编程方式设置 WatchKit
Table Row
的颜色?
在我的应用程序的 iPhone 部分,我将每个特定的表格单元格
设置为:
cell.backgroundColor = [self colorWithHexString:[stringArrayColor objectAtIndex:indexPath.row]];
所以基本上尝试设置每种类型的行的背景颜色:
最佳答案
您无需设置行的背景颜色,而是设置组的背景颜色。
关于ios - Watchkit 表行背景颜色以编程方式,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28649659/