Is there any way to set a background view on a UITableViewController?
I try with the code I am using on a UIViewController, but the view comes over all
(This is basically the same as Hans Espen's solution above, but uses convenience methods for brevity)
Put this in your -[UITableViewControllerSubclass viewDidLoad] method:
self.tableView.backgroundColor = [UIColor colorWithPatternImage:[UIImage imageNamed:@"BackgroundPattern.png"]];
There's no point in avoiding a couple of autoreleases in a viewDidLoad method, since it only gets called rarely (when the view actually loads) and will therefore have negligible impact on performance.
N.B. You should always use PNG images on the iPhone, not JPEG or any other format.