开发者

Need tableview grouped background in UIView?

I have Tableview as XIB file, in that inspector I set style as grouped. so the BackGround will be in one format (vertical white lines and light blue) behind the cell. I want to bring in My UIView. How? There is n开发者_如何学JAVAo style component to set it. How can I do it?


If I understand right, you want to set background color of your UIView to the same as UITableView has? If so, just write a line of code [myView setBackgroundColor:[UIColor groupTableViewBackgroundColor]]; If you want to set your view as a background of yout table, you can set your tableView's background to [UIColor clearColor] and add it as subview to your view.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜