开发者

How to make a original image alpha gradient?

I am using coverflow and I want to make the image's shadow in the coverflow gradiently alpha. For example, the alpha at the top of the image would be 0.5, and at the bottom of image it would be开发者_如何学C 1. I can not use gradient background view.


Use CAGradientLayer for that purpose. Example

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜