izan
izan

Reputation: 737

Background image to view which contain a tableview

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 added an image view, but the cell of my table view have a strange color.

Upvotes: 1

Views: 101

Answers (2)

Mehul Mistri
Mehul Mistri

Reputation: 15147

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...

Upvotes: 0

Rahul Vyas
Rahul Vyas

Reputation: 28720

you need to make your cells and table view transparent

Upvotes: 1

Related Questions