I am afraid that you will not be able to do this with UIImageWriteToSavedPhotosAlbum.
However, you can use a different method to save to the iphone file system (but not in the "saved photo album"). Then you save your metadata in another text file, following the image path:
For PNG:
[UIImagePNGRepresentation(image) writeToFile: uniquePath atomically: YES]
For jpg:
[UIImageJPEGRepresentation(image, 1.0) writeToFile:jpgPath atomically:YES]
source share