UItableviewcell makes label's background clear when highlighted
- by Jonathan
I have a UIlabel on a UItabelViewCell, which I've created programmatically (ie not a nib or a subclass).
When the cell is highlighted (goes blue) it makes all the background colors of the UILabels turn clear I have 2 UILabels where I don't want this to be the case.
Currently I m using UIImageViews behind the UILabel's to make it look like the background color doesn't change. But this seems an inefficient way to do it.
How can i stop certain UILabel's background color changing when the TableViewCell is highlighted?