Set background color of UITableViewCell

前端 未结 6 1302
执念已碎
执念已碎 2021-02-15 22:47

I have looked around to find a solution for setting the background color of the accessoryView to the same background color as the cell´s contentView.

    cell.co         


        
6条回答
  •  一生所求
    2021-02-15 22:53

    This worked for me:

    cell.contentView.backgroundColor = [UIColor darkGreyColor];
    

提交回复
热议问题