A bit late, but maybe for everyone else looking for a solution. I could get this working using the following code in the viewDidLoad
method of the UITableViewController
:
self.parentViewController.view.backgroundColor = [UIColor colorWithPatternImage:[UIImage imageNamed:@"background.png"]]; self.tableView.backgroundColor = [UIColor clearColor];
or using only the background color:
self.parentViewController.view.backgroundColor = [UIColor scrollViewTexturedBackgroundColor]; self.tableView.backgroundColor = [UIColor clearColor];
It took me a while to figure this out, but now it works like a charm.
JFS Aug 12 '13 at 17:50 2013-08-12 17:50
source share