开发者

How to add the BgImage on UIButton or UIBarButtonItem using Interface Builder?

How to add the BGImage on MonoTo开发者_运维知识库uch UI components? Anyone know how do we set the image for a UI components not programmatically? this is, using the interface builder.


You just need to reference the image from interface builder. Although it wont show up, the image will be recorded in the XIB file.

Then make sure that you add those files to your project and they are marked as Content.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜