SyntaxFix
Write A Post
Hire A Developer
Questions
Just set backgroundColor on the layer (after making the view layer backed).
backgroundColor
view.wantsLayer = true view.layer?.backgroundColor = CGColor.white