All you have to do is 2 things:
eg. The view has a tabular view. In the XIB file XIB set the background to a UITableView to clear the color. Set the background of the container view in the form of a table to the desired image.
self.view.backgroundColor = [UIColor colorWithPatternImage:[UIImage imageNamed:@"app_background.png"]];
If the ViewController is actually a TableViewController , then set:
self.parentViewController.view.backgroundColor = [UIColor colorWithPatternImage:[UIImage imageNamed:@"app_background.png"]];
You can set the row background inside the table view delegate (view controller or table)
-(void)tableView:(UITableView *)tableView willDisplayCell:(UITableViewCell *)cell forRowAtIndexPath:(NSIndexPath *)indexPath { if ([indexPath row] % 2 == 0) {
source share