iOS Swift - How to change background color of Table View?

前端 未结 6 1495
情书的邮戳
情书的邮戳 2021-01-31 02:46

I have a simple table view, I can change the colors of cells, but when trying to change the color of Table View (Background part) it is not working... I tried it via Storyboard.

6条回答
  •  余生分开走
    2021-01-31 03:24

    If you want to achieve that via storyboard then select "Content View" of "table view cell" in your tableView then in attribute Inspector go to View and change its color like so:

提交回复
热议问题