Set background color of UITableViewCell

前端 未结 6 2349
陌清茗
陌清茗 2021-02-15 22:28

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 23:17

    This worked for me:

    cell.contentView.backgroundColor = [UIColor darkGreyColor];
    

提交回复
热议问题