Change iPhone tableview (style grouped) background color while preserving texture

后端 未结 4 1100
北荒
北荒 2020-12-25 14:32

How can we change the background color of tableview (style grouped) while still preserving texture of thin columns/lines effect that we can see when it has the default blue

4条回答
  •  长发绾君心
    2020-12-25 15:03

    Firstly, you could try searching on Stack overflow for your exact question. Here's two:

    • How can I set the background of a UITableView...
    • How to customize the background/border colors of a grouped table view?

    If that doesn't help, try to make the background colour of the table view transparent [UIColor clearColor] and put another view behind your UITableview containing the colout/texture/image you need.

提交回复
热议问题