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.
精彩评论