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
clearColor has a black color channel with an alpha of 0, so I had to use
[UIColor colorWithWhite:1 alpha:0]
and it works fine.