getting images from iPhone simulator
I have just created an image and saved it in iPhone simulator phone library. I want to view this image(not from Photo Library) to view its properties from document resources. But I am not able to access the cont开发者_如何学Goents of photo library.
Thanks
PankajWith Xcode 6 the simulator image files are now located in:
~/Library/Developer/CoreSimulator/Devices/<device UDID>/data/Media/DCIM/100APPLE
Where the value of <device UDID>
can be determined using the command: xcrun simctl list devices
.
EDIT - Path is still valid for Xcode 10.1 version.
Go to this folder (Finder, Shift+Command+G):
~/Library/Application Support/iPhone Simulator/(version)/Media/DCIM/100APPLE
replacing "(version)" with your Simulator version. You should find all the photos there.
精彩评论