Search code examples
iphoneiosios4ios5

Getting image name of iphone photo library


I'm doing a project to take images from iphone photo library or in other way from camera roll. I have done that without any problem. But i need to retrieve the name from the photo library. Is there a way to do that? Any help is appreciated

Thanks


Solution

  • Have a look at ALAssetsLibrary which is available in iOS 4.0 and later.

    Also, these links may help

    How to get a photo's original filename in iOS?

    iPhone: How do I get the file path of an image saved with UIImageWriteToSavedPhotosAlbum()?