I have a CAGradientLayer inserted to the bottom of this small detail view that pops up at the bottom of the app. As you can see, I\'ve set the colors from white to clear, but th
In Swift This worked for me,
UIColor.white.withAlphaComponent(0).cgColor