开发者

getting images from iPhone simulator

开发者 https://www.devze.com 2023-02-21 10:25 出处:网络
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 acce

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

Pankaj


With 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.

0

精彩评论

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

关注公众号