【发布时间】:2011-02-03 20:09:59
【问题描述】:
我有一个 UITableView 自定义背景图像设置如下:
self.tableView.backgroundColor = [UIColor colorWithPatternImage:[UIImage imageNamed:@"mybg.png"]];
背景看起来不错,但是我的 UITableViewCells(默认单元格,不是自定义的)对它们有某种奇怪的色调,并且包含“新项目”文本的 UILabel 背后似乎也有某种背景。我怎样才能删除这个?我已经试过了:
cell.backgroundColor = [UIColor clearColor];
cell.textLabel.backgroundColor = [UIColor clearColor];
谢谢
【问题讨论】:
标签: iphone cocoa-touch uitableview uilabel