如何将图像添加到 iphone 模拟器 v4
我一直能够通过本网站上描述的常用方法将图像导入 iphone 模拟器 3(即将图像拖入 iphone 模拟器)。
然而,升级到新的 xcode 3.2.3 后,虽然我仍然可以将图像保存到模拟器中,但当我转到模拟器上的库时,我实际上看不到它们。
值得庆幸的是 - 当我为 iPad 模拟器构建时它可以工作。
还有其他人遇到这个问题吗?还是我安装的新 xcode 有问题?
I've always been able to get images into iphone simulator 3 by the usual methods described on this site (i.e. dragging image into iphone simulator).
However, having upgarded to the new xcode 3.2.3, although I can still save images to the simulator, I can't actually see them there when I go to the library on the simulator.
Thankfully - it works when I build for the iPad simulator.
Has anyone else go this problem or is my install of the new xcode screwy?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
我注意到,如果您在硬件菜单中更改设备,则可以添加它们。切换到 iPhone 并执行常规操作。然后切换回iPhone4,您就可以看到照片库中的图像了。
替代文字 http://img.skitch.com/20100705-8kra9hetayjqhyu3i5w4brayr4.png
还应该向苹果提交雷达文件。 ;-)
I've noticed that you can add them if you change the device in the Hardware menu. Switch to iPhone and do the usual. Then switch back to iPhone4 and you'll be able to see the images in the photo library.
alt text http://img.skitch.com/20100705-8kra9hetayjqhyu3i5w4brayr4.png
You should also file a radar with Apple. ;-)
v4 升级后我遇到了同样的问题,但如果我将图像拖到实际“照片”应用程序中的相册中,它似乎可以工作。
I was had the same problem after v4 upgrade but it seems to work if I drag the images into an album in the actual 'photos' app.
您可以通过 iPhone、iPad 上的 Safari 来保存模拟器中的图像。
导航到某个 URL,例如谷歌图片上梅根·福克斯的热门图片。单击并按住您最喜欢的图片,希望摆出非常性感的姿势。然后从出现的菜单中选择保存。
这通常适合我。
[更新]
抱歉,这在 3.2.2 上不起作用,但在过去曾起作用。
You can save images in the simulator by going to Safari on the iPhone,iPad.
Navigate to some URL eg, hot pictures of Megan Fox on google images. Click and hold on your favourite image of here, hopefully in a very hot pose. Then select save from the menu that appears.
This normally does it for me.
[UPDATED]
Sorry this does not work on 3.2.2 but has worked in the past.
似乎您需要在拖动图像后在模拟器上运行照片应用程序,以便它可以从您的应用程序中使用图像。
Seems that you need to run the Photos app on the simulator after dragging in images in order for it to make the images available from your app.
首先,您只需运行模拟器,然后从 MacBook 中拖动图像后点击后退按钮,您会在模拟器屏幕上找到小图像,并将课程器放在图像上
一段时间后,iPhone 模拟器屏幕上会弹出一个屏幕视图,询问您要保存此图像还是取消
你只需保存并返回
打开照片库您必须看到照片库中的一张图像
First you simply run simulator then tap on back button after this drag image from your macbook u found small image on simulator screen hold courser on image
after a while bring a pop-up screenView on iPhone simulator screen to ask that you want to save this image or cancel
you just save and go back
open photo gallery you must be see one image in photo gallery