I am trying to give a UITableView a background image. I know this can be done by making the tableView's background to clear and put an image behind it. I tried:
But the TableView is a child in a tableview controller, so the bg is being added above the tableview.
Suggestions?
Code:
bg = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, 320, 480)];
[bg setImage:[UIImage imageNamed:@"main_bg.png"]];
[self.view addSubview:bg];
But the TableView is a child in a tableview controller, so the bg is being added above the tableview.
Suggestions?