开发者

PNG transparency in Interface Builder

I'm adding an Image View in Interface Builder with a transparent PNG (A logo in the Navigation Bar) but th开发者_Go百科e transparent pixels seems to render as white..

I searched for PNG in Interface Builder but no luck. any tips?


Make sure the "Opaque" checkbox in the "Drawing" section of the view attributes is unchecked, and that the background has an opacity of 0.


After you select your image in a UIButton in Interface Builder, you need to tell it to use a background with 0 opacity (alpha).

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜