问题
I want to know how to sync images from iTunes to the iPhone simulator.
回答1:
This worked for me with iOS4: at the simulator, click home, then click the Photos icon. Drag the image from your Mac onto the simulator screen. Then follow the instructions above: hold down the mouse click on the image until the popover comes up. Choose Save image. Verify by clicking back to Photos (on the simulator) and inspecting (the new) album "Saved Photos."
回答2:
I spent a while looking into this, and my conclusion for now is that although the Photos app says:
"You can sync photos and videos onto your iPad Simulator using iTunes."
it's probably not actually simulator-specific instructions, but a generic message of the form
"You can sync photos and videos onto your
{DEVICE_NAME}
using iTunes."
Where {DEVICE_NAME}
is determined by calling [[UIDevice currentDevice] model]
.
回答3:
Drag the photo into the simulator. After the iPad Simulator opens the dragged-in image in Safari, press-and-hold the image until the popover comes up. From the popover, choose Save Image. This saves the image to your iPad Simulator photo library.
回答4:
After the iPad Simulator opens the dragged-in image in Safari, press-and-hold the image until the popover comes up. From the popover, choose Save Image. This saves the image to your iPad Simulator photo library.
回答5:
- Open Photo Album in the iphone simulator
- Drag the image into it IT shall open the image in the browser
- keep right click pressed on the image
- an option with the "save image" shall appear
- click on it And Viola.. you have it inside the Photo Album
回答6:
If you need to import more than just one or two photos then take a look at this article. It describes an easy way to perform a bulk import of photos.
回答7:
I'VE GOT IT! You must 'drag' the picture to the ipad simulator.
回答8:
Unfortunately for people who regularly upgrade, the iPhone Simulator for iOS 4 does not have a Photo Album as far as I can see. None of the suggestions above works with it.
来源:https://stackoverflow.com/questions/2514465/sync-image-from-itunes-to-the-iphone-simulator