[aTableView setBackgroundColor:[UIColor colorWithPatternImage:[UIImage imageNamed:@"background.png"]]];
// IBOutlet UITableView *aTableView is set by Interface Builder
if( self.aTableView ){
[self.aTableView setBackgroundColor:[[UIColor alloc] initWithPatternImage:[UIImage imageNamed:@"Background.png"]]];
self.aTableView.opaque = NO; // It can be set in the IB
self.aTableView.backgroundView = nil;
self.view = self.aTableView;
}else{
NSLog(@"IB OUTLET is not set");
}
if( self.aTableView ){
[self.aTableView setBackgroundColor:[[UIColor alloc] initWithPatternImage:[UIImage imageNamed:@"Background.png"]]];
self.aTableView.opaque = NO; // It can be set in the IB
self.aTableView.backgroundView = nil;
self.view = self.aTableView;
}else{
NSLog(@"IB OUTLET is not set");
}