I am trying to add a background image to the table view. My code for this is here:
UIImageView *backImageView = [[UIImageView alloc]initWithImage:[UIImage imageNamed:@"background.png"]];
[backImageView setFrame:CGRectMake(0, 0, 768, 1024)];
[self.view addSubview:backImageView];
UITableView *aTableView=[[UITableView alloc]initWithStyle:UITableViewStyleGrouped];
[aTableView setFrame:CGRectMake(0, 0, 768, 1024)];
[aTableView setDelegate:self];
[aTableView setDataSource:self];
[aTableView setBackgroundColor:[UIColor clearColor]];
[self.view addSubview:aTableView];
[aTableView release];
I am not getting a background image, and I don't want to use AppDelegate. Anybody help me.