Summary:
When setting a background color of the view of a ViewController in a Storyboard using a named color from a xcasset color set, it's no longer possible to override the colour in viewDidLoad / viewWillAppear
Steps to Reproduce:
Create a color set in the xcassets file
Use the named color as the background color for a view in a storyboard
Attempt to override the color with another color in viewDidLoad
Expected Results:
Color should be overwritten
Actual Results:
Call to view.backgroundColor = UIColor.orange is ignored.
Version/Build:
Xcode Version 10.2.1 (10E1001)
Swift 5.0
Description
Area: UIKit
Summary: When setting a background color of the view of a ViewController in a Storyboard using a named color from a xcasset color set, it's no longer possible to override the colour in viewDidLoad / viewWillAppear
Steps to Reproduce:
Expected Results: Color should be overwritten
Actual Results: Call to
view.backgroundColor = UIColor.orange
is ignored.Version/Build: Xcode Version 10.2.1 (10E1001) Swift 5.0
- Product Version: 10.2.1 Created: 2019-05-29T05:03:40.049938 Originated: 2018-05-29T00:00:00 Open Radar Link: http://www.openradar.me/51208444