Set UITableview background in interface builder?

On iPhone, I need to set the background view to UITableview. From the 3.2 SDK, I can use something like this in the code:

[self.tableView setBackgroundView:[[UIImageView alloc] initWithImage:[UIImage imageNamed:@"mycustombackground.png"]]]; 

But how can I do the same in the interface builder? It would be great if I could just set the background view directly in the interface builder. But, it seems, can not find this property, where is it?

Thanks!

+7
iphone uitableview background
source share
1 answer

Add a UIImageView behind it, place the image in it and set the transparency of the table:

 self.tableview.backgroundColor = [UIColor clearColor]; 
-one
source share

All Articles