Set background color of UITableViewCell

前端 未结 6 1329
执念已碎
执念已碎 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 23:13

    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.

提交回复
热议问题