troubleshooting Question

Get the ImageURL of an image after I save it with UIImageWriteToSavedPhotosAlbum

Avatar of derftoy
derftoyFlag for United States of America asked on
2 Comments1 Solution3941 ViewsLast Modified:
In my application I popup the image picker control with the camera.  When the user takes a picture it returns the Image back to me.  I then call:

void UIImageWriteToSavedPhotosAlbum (
   UIImage  *image,
   id       completionTarget,
   SEL      completionSelector,
   void     *contextInfo

When it complete it finishes with the completion selector with a reference to the image.  I then use that image as the background of my application using a UIImageView.

The problem is that when the save is returned, there doesn't seem to be anything to tell me the ReferenceURL to that image.  I want to take the name of that image and store it, so the next time the user opens up the application, I can set the background to the saved image.

How can I get the RefernceURL of a saved image?
Minh Võ Công

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 2 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros