开发者

Opacity of image in IB is not correct

semi-transparent images that I added to my resources. When viewed in interface builder it doesn't show as transparent as it did when I had it in Photoshop. I made sure that the opacity was the way I wanted it and the background was transparent pixels. I even tried saving the image as PNG-24 preset and checked the transparency box in PS mobile and web. And in interface builder I made sure that the opaque box in view attributes was unchecked. But after all this the image doesn't display with the开发者_JAVA技巧 proper opacity as I set it as.


You need to save it as PNG-32, 24 Bits (3*8) is just RGB, so it doesn't have an alpha channel.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜