iphonepathdevicephotoswritetofile

What is the path of photos album on iPhone device?


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


Solution

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