添加背景图像在Interface Builder中 [英] Adding A Background Image In Interface Builder
问题描述
我想添加自定义图像作为利用X code 4.2我的应用程序的背景下,但我也不太清楚该怎么做。我可以添加普通的颜色在Interface Builder的背景,但我没有看到添加自定义图像的选项。我用Google搜索这个问题,并已经研究了好几个小时,但没有解决方案都似乎为我工作,已经过时了。我读过Apple的文档,但它去在我头上。我还是一个初学者,当谈到节目。有谁知道一个简单的方法来设置我的自定义图像作为背景UIView的?
I'm trying to add a custom image as a background for my application using Xcode 4.2, but I'm not too sure how to do it. I can add plain colors as the background in Interface Builder, but I do not see the option to add a custom image. I have Googled this issue and have researched it for hours, but none of the solutions have seemed to work for me and are out of date. I've read Apple's documentation, but it went over my head. I'm still a beginner when it comes to programming. Does anyone know of a simple way to set my custom image as the background for the UIView?
感谢您。
推荐答案
使用的UIImageView
这是你的看法帧的大小。
Use a UIImageView
that is the size of your views frame.
这篇关于添加背景图像在Interface Builder中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!