What is the path of photos album on iPhone device?

社会主义新天地 提交于 2019-11-30 21:38:49

问题


I was trying to save a PNG file to photos albums folder on the iPhone device with a .png extension so that the transparency remains..

My question is: What is the path of photos album UIImageWriteToSavedPhotosAlbum function is using? I am using data write to file method..

Thanks


回答1:


You can't access assets on the file system directly (assuming this isn't a jailbreak question). In addition to UIImageWriteToSavedPhotosAlbum, the Assets Library Framework provides access to the photo library if you're targeting newer versions of iOS.




回答2:


Root/private/var/mobile/Media/DCMI/100APPLE



来源:https://stackoverflow.com/questions/8945368/what-is-the-path-of-photos-album-on-iphone-device

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!