textLabel.backgroundColor on UITableViewCell does not work

Posted by Tom on Stack Overflow See other posts from Stack Overflow or by Tom
Published on 2010-04-09T20:04:17Z Indexed on 2010/04/12 12:33 UTC
Read the original article Hit count: 329

Hi!

I'm trying to set the label backgroundColor of my UITableViewCells and it does absolutely nothing at all. I wonder if there's another way of doing this, so I'm asking!

I tried this:

    cell.textLabel.backgroundColor = [UIColor redColor];
cell.backgroundColor = [UIColor redColor];

And it doesn't work, anything else?

Thanks!

© Stack Overflow or respective owner

Related posts about uitableviewcell

Related posts about cocoa-touch