Changing UITableViewHeaderFooterView tintColor also changes it's backgroundView's backgroundColor

Originator:nishdesai95
Number:rdar://42617506 Date Originated:26-Jul-2018 03:05 PM
Status:Open Resolved:
Product:iOS + SDK Product Version:11.4
Classification:UI/Usability Reproducible:Always
 
Summary:
When using UIAppearance to set the tintColor of a UITableViewHeaderFooterView, the backgroundColor of the backgroundView of UITableViewHeaderFooterView also changes to the set tintColor.

Steps to Reproduce:
Attached project illustrates the behaviour.

Actual Results:
The backgroundColor of the backgroundView of UITableViewHeaderFooterView changes to the tintColor with an alpha of 0.9

Expected Results:
Setting the tintColor of UITableViewHeaderFooterView should only set the tintColor of the itself and the backgroundView object and not change the backgroundColor.

Version:
11.4

Configuration: https://git.io/fNEVA

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!