UITableViewCell color issues with custom table view background

Posted by Macatomy on Stack Overflow See other posts from Stack Overflow or by Macatomy
Published on 2010-04-02T18:51:10Z Indexed on 2010/04/02 18:53 UTC
Read the original article Hit count: 384

I have a UITableView with a custom background image set like this:

self.tableView.backgroundColor = [UIColor colorWithPatternImage:[UIImage imageNamed:@"mybg.png"]];

The background appears fine, but my UITableViewCells (default cells, not custom) have some sort of weird tint to them, and the UILabel containing the "New Project" text also seems to have some sort of background behind it. How can I remove this? I've already tried:

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

Thanks

alt text

© Stack Overflow or respective owner

Related posts about uitableview

Related posts about uitableviewcell