Reputation: 3144
Is there any way to set the color of a WatchKit
Table Row
programmatically?
On the iPhone part of my app, I set each specific Table Cell
with:
cell.backgroundColor = [self colorWithHexString:[stringArrayColor objectAtIndex:indexPath.row]];
So basically trying to set the background color of each of these types of rows:
Upvotes: 2
Views: 2647
Reputation: 601
Maybe after Watch OS 2.0 you can change color of row but for now you can only change color for group like this:
[row.rowGroup setBackgroundColor:[UIColor clearColor]];
Upvotes: 3
Reputation: 719
Instead of setting the background color of the row, you set the background color of the group.
Upvotes: 8