2013-01-07 37 views
0

在我的tableView单元格中,在我的文本上有一个backgroundcolor,并且我不知道如何删除它..可以有人帮助我吗?iOS6单元格文本BackgroundColor

enter image description here

我已经试过

cell.backgroundColor = [UIColor clearColor]; 
cell.opaque = NO; 

但AINT工作

回答

1

你试过:

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

和:

cell.detailTextLabel.backgroundColor = [UIColor clearColor]; 
cell.detailTextLabel.opaque = NO; 
+0

不,但它工作:)谢谢! –