iOS 8: UITableView's appearance proxy has no effect on background color
| Originator: | glaszig | ||
| Number: | rdar://18406065 | Date Originated: | 21-Sep-2014 03:01 PM |
| Status: | Duplicate of 17974434 (Open) | Resolved: | |
| Product: | iOS SDK | Product Version: | 8.0 |
| Classification: | Reproducible: | Yes |
Summary:
On IOS 8, setting the backgroundColor of UITableView has absolutely no effect.
The same code works on iOS <= 7.
Steps to Reproduce:
1. Open Xcode (6)
2. Create a Master-Detail-App for iOS
3. Add this to the AppDelegate's application:didFinishLaunchingWithOptions:
[[UITableView appearance] setBackgroundColor:[UIColor blueColor]];
4. Build & Run on iOS 7: background will be blue.
5. Build & Run on iOS 8: background will be white.
Expected Results:
Setting UITableView's backgroundColor through UIAppearance get's colored on iOS 8 as well.
Actual Results:
Setting UITableView's backgroundColor through UIAppearance has no effect on iOS 8.
Version:
iOS 8.0 (12A365)
Notes:
Attached is an example. It can also be found over at: https://github.com/glaszig/iOS8-UITableView-backgroundColor
Configuration:
iOS Simulator (Xcode 6.0.1)
Attachments:
'UIAppearance-Bug.zip' was successfully uploaded.
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!