I am using this code to add a background image to my tableview
myTable.backgroundView = [[[UIImageView alloc] initWithImage:[UIImage imageNamed:@"background.png"]] autorelease];
on the internet they say this code works, but it’s not working for me
can someone help me please?
if its a UITableViewController, as I believe it is, do this:
or you can do (on a non-table view controller)
or on viewDidLoad you can do:
but thats a bit messy – I prefer to use
setBackgroundColor: