I have a View with two table views inside it. I want to set top of table view's background to cyan color, I used code as below, the cell color is getting to cyan, but the table view didn't, how can I set it to cyan color?
Code:
tableView.backgroundColor = UIColor.cyanColor;
cell.labelDate.backgroundColor = [UIColor cyanColor];
cell.labelOpen.backgroundColor = [UIColor cyanColor];
cell.labelHigh.backgroundColor = [UIColor cyanColor];
cell.labelLow.backgroundColor = [UIColor cyanColor];
cell.labelClose.backgroundColor = [UIColor cyanColor];
cell.labelVolume.backgroundColor = [UIColor cyanColor];