我设置了单元格[cell.contentView addSubview:chatView]
。chatView有一个UIImageView
、两个UILabels
和UILabel backgroundColor = [UIColor clearColor]
.
当编辑表格时,我选择单元格,单元格突出显示,UILabel backgroundColor 更改突出显示的颜色。如何取消backgroupColor。
最佳答案
theLabel.layer.backgroundColor = myColor
这工作得很好。
关于iphone - UITableView 编辑时如何取消选定单元格突出显示的背景色,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10038465/