UItableviewcell makes label's background clear when highlighted
        Posted  
        
            by Jonathan
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Jonathan
        
        
        
        Published on 2010-06-03T10:33:30Z
        Indexed on 
            2010/06/03
            10:34 UTC
        
        
        Read the original article
        Hit count: 244
        
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?
© Stack Overflow or respective owner