简体   繁体   English

Iphone 4模拟器,设置背景图像?

[英]Iphone 4 Simulator, Set Background Image?

I noticed on Xcode 3.2.3 that of the three simulators available both the iPhone(water drops) and iPad(night sky) show background images. 我在Xcode 3.2.3上注意到,在可用的三个模拟器中,iPhone(水滴)和iPad(夜空)都显示背景图像。 Is there a way to add a few photos to Photos so that I can set one as a backdrop. 有没有一种方法可以在“照片”中添加几张照片,以便将其设置为背景。

NB: I tried dragging an image to Safari in the simulator and then clicking/holding and saving but the image does not show up in Photos. 注意:我尝试将图像拖到模拟器中的Safari中,然后单击/按住并保存,但是图像未显示在“照片”中。

Gary. 加里

Tapping and holding on an image viewed in Safari allows you to add the selected image to the Photo application. 点击并按住在Safari中查看的图像,可以将选定的图像添加到Photo应用程序。 When the message pop-up appears choose "Save Image". 出现消息弹出窗口时,选择“保存图像”。 Quit Safari and go to the Photo application. 退出Safari并转到Photo应用程序。 The image should be in the camera roll. 图像应在相机胶卷中。

I have tried this technique before and it has always worked for me. 我以前尝试过这种技术,并且一直对我有用。

Try putting some images in the following directory: 尝试将一些图像放在以下目录中:

~/Library/Application Support/iPhone Simulator/User/Media/DCIM/100APPLE

Create the 100APPLE directory if it doesn't already exist. 如果尚不存在,请创建100APPLE目录。 Then add some images in the format of: 然后添加以下格式的图像:

IMG_0000.JPG
IMG_0001.JPG
IMG_0002.JPG
IMG_0003.JPG

I think this might be case sensitive as well. 我认为这也可能区分大小写。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM