Created
May 19, 2013 09:33
-
-
Save lvjian700/5607194 to your computer and use it in GitHub Desktop.
Custom UITableView & Cell backgroud color
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #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; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment