Faced with this issue recently
I had xib file for table cell and custom colors in xcasset.
Colors are single appearance (dark mode not supported).
In cell swift class I have bool variable with didSet, where few outlets are modified: view.backgroundColor and label.textColor. Their values are based on variable value. There are ternar conditions so I was sure that color will be selected correctly.
On devices with iOS 12 (checked on 12.1 and 12.4 real and simulators) color didn't change at start but only after cell reuse.
After finding this question and few experiments, I have found that:
Setting custom color in xib file (no matter, if they have dark version or not) was performed after my didSet block and overrides my conditions results. And since I have set one of possible color in xib, I though that problem in data.
So I have reset outlets colors to default in xib and now it works
In case if you have to display some default color before some conditions, I guess putting it in init methods (awakeFromNib, viewDidLoad etc) should work
This bug was fixed in 13.0+
Post
Replies
Boosts
Views
Activity
Regenerated only profile - worked
Faced same issue recently. Both app and Postman.
There is caching somewhere on network layer. Haven't found where exactly
What I have done to solve it:
I have added extra GET parameter 'date' with Date.init().timeIntervalSince1970 value
As result, url looks like:
var url: String { http://itunes.apple.com/lookup?bundleId={bundle}&date=\(Date.init().timeIntervalSince1970) }
which gives me unique url every time I use it.
I know, it's not the best way, bcs it's not solving the reason but helped to solve the resulting problem