开发者

Background image to view which contain a tableview

开发者 https://www.devze.com 2023-03-03 16:46 出处:网络
I have in the Interface builder a view which contain a UITableView and a custom UITableVIewCell, I would like to add an image view to my view. How I can do this? I have ad开发者_StackOverflow中文版ded

I have in the Interface builder a view which contain a UITableView and a custom UITableVIewCell, I would like to add an image view to my view. How I can do this? I have ad开发者_StackOverflow中文版ded an image view, but the cell of my table view have a strange color.


you need to make your cells and table view transparent


Add UIImageView to your XIB file and set its IBOutlet.

Now add UITableView to your XIB file on UIImageView and also set its IBOutlet..

Make UITableView's backgroundColor to clearcolor...

Hope this will work...

0

精彩评论

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