Set background color of UITableViewCell

前端 未结 6 2332
陌清茗
陌清茗 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:07

    The best option to have different backgrounds and what not would probably be to make your own TableViewCell implementation, in there you can put the logic to show whatever you want based on content or index etc.

提交回复
热议问题