-setBackgroundColor: doesn't work on grouped UITableView
| Originator: | jon | ||
| Number: | rdar://12353733 | Date Originated: | 22-Sep-2012 02:33 PM |
| Status: | Open | Resolved: | |
| Product: | iPhone SDK | Product Version: | 6.0 |
| Classification: | Reproducible: | Always |
Summary:
Setting the background color of a grouped-style UITableView is a no-op.
Steps to Reproduce:
UITableView *tableView = [[UITableView alloc] initWithStyle:UITableViewStyleGrouped];
tableView.backgroundColor = [UIColor whiteColor];
Expected Results:
The table view has a white background.
Actual Results:
The table view has a pinstriped background.
Regression:
This is a new bug with iOS 6.
Notes:
You can get around the problem by explicitly setting a background view for the table.
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!