开发者

How to add images to iphone simulator v4

开发者 https://www.devze.com 2023-01-05 22:44 出处:网络
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).

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 w开发者_如何学Pythonhen I build for the iPad simulator.

Has anyone else go this problem or is my install of the new xcode screwy?


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. ;-)


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.


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.


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

0

精彩评论

暂无评论...
验证码 换一张
取 消