I want to get a file from a camera or photo library, and I know how to get a file using UIImagePickerController.
I don’t know how to save the link to this file in my source (for example, I want to save some record, and my record has a link to the image in Photo Library).
Example
- User captures photo using camera
- I take a photo and save it in Photo Library.
- I save the link to the file in Photo Library and, if necessary, I show the file to the user (without displaying the UIImagePickerController, I just grab the file from the library and show it to the user)
How to save the link? Is that the way? Is this some kind of photo library id?
Any help was appreciated.
source
share