开发者

How to set the shadow color for Image?

Hai, I am doing one application, in that i want to provide the shadow color for image after setting the border color. But border color and s开发者_Go百科hadow color both are different. So please tell me any more suggestions.


Have you looked at CALayer? It has a property called shadowColor. This works you are referring to an UIImageView object. If you're referring to the image, you can look at CGContextSetShadowWithColor to add an image using Quartz.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜