Saving pictures to custom photos album then reloading

I'm trying to save an image to the photos album. But then I want to save some kind of reference to where it is, so that I can save it (using NSKeyedArchiver), close the app... and then be able to open the app again and reload the image. I'm not seeing how to do this. This is how I'm saving the image... how do I save a reference to it. I tried to save the assetURL variable within the completion block, but I was unable to do so... Would appreciate any help.



[selfwriteImageToSavedPhotosAlbum:image.CGImageorientation😟ALAssetOrientation)image.imageOrientation

completionBlock:^(NSURL* assetURL, NSError* error) {

//error handling

if (error!=nil) {

completionBlock(error);

return;

}

}];

Posted on Mar 4, 2013 2:22 PM

Reply
1 reply

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Saving pictures to custom photos album then reloading

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.