What is the path of photos album on iPhone device?

tiw picture tiw · Jan 20, 2012 · Viewed 9.9k times · Source

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

Answer

smparkes picture smparkes · Jan 20, 2012

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.