lvjian700
5/19/2013 - 9:33 AM

Custom UITableView & Cell backgroud color

Custom UITableView & Cell backgroud color

#table
self.tableView.backgroundColor = [UIColor colorWithPatternImage:[UIImage imageNamed:@"bg_window_landscape.png"]] 

#Cell
UIView *backgrdView = [[UIView alloc] initWithFrame:cell.frame];
backgrdView.backgroundColor = [UIColor whiteColor];
cell.backgroundView = backgrdView;