I get the Asset Library URL for a photo using the UIImagePickerControllerReferenceURL key on the info dictionary obtained from UIImagePickerController. The url looks like this:
assets-library://asset/asset.JPG?id=1000000002&ext=JPG
Is this URL stable? Can I expect to save it in a document and then at a later date fetch the photo using this URL?
I basically have a iOS photo editing app where I allow the user to do some editing on a bunch of photos. I allow the user to save the project and edit at a later date. I would save these URLs to save the information about which photos are used in the project. I don't want to copy and save all the photos used in a project since there can be many photos used in a project and this will result in unnecessary duplication.
Can you also suggest if there is a better way around.