Why doesn't UITableViewCell background color work (set in interface builder)?

前端 未结 14 1773
青春惊慌失措
青春惊慌失措 2020-12-23 11:43

Why doesn\'t UITableViewCell background color work (set in interface builder)?

I note from some searching that the follow code set in your custom subclass of UITable

14条回答
  •  一生所求
    2020-12-23 11:49

    I did get this issue also. In IB you get the ability to change the background color of the cell when choosing cell. This is NOT correct. You should go to the document outline on the left of the storyboard and choose the content view inside the cell. Change the background of the content view. You should now get correct cell color.

提交回复
热议问题