如何将图像添加到iOS模拟器

问题描述:

我有xcode 4.5.1,想要将照片添加到iphone 6.0模拟器,但无法找到它。我有一个名为iphone模拟器的文件夹,但它只包含4.3.1。可能是因为几个月前我将应用程序支持中的几乎所有内容拖到我的外部硬盘上以节省一些内存。现在,当我向后拖动时,它包含我之前使用过的4.3.1。我是否必须下载新内容或我应该怎么做?
提前致谢!

I have xcode 4.5.1 and want to add photos to the iphone 6.0 simulator but cant find it. I have a folder named iphone simulator but it just contains 4.3.1. It may be because some months ago I drag almost everything in the application support to my extern hard drive to save some memory. Now when I drag it back it contains the 4.3.1 which I used before. Do I have to download something on new or what should I do? Thanks in advance!


  1. 运行模拟器

  2. 在模拟器上运行Safari

  3. 将图片拖到模拟器上运行的Safari上,这会打开图像。

  4. 点击并按住图像,或点击底部工具栏中的共享图标。

  5. 您将收到一条警告,询问您是否要将图像存储到手机中

  1. Run the simulator
  2. Run Safari on the Simulator
  3. Drag a picture onto Safari running on the Simulator, this opens the image.
  4. Click and hold on the image, or tap on the share icon in the bottom tool bar.
  5. You'll get an alert asking if you want to store the image to your phone