Reputation: 1335
I'm trying to develop an application that modify photos of the album photo, (exactly adding tags to the photos).
It is possible to modify the content of the album photo from the application? (replace the photo with the tagged one)?
If it's possible, it is best to copy the picture in the sandbox, edit it, and send it back to the album photo or modify directly the photo without copying it in the application sandbox?
Upvotes: 0
Views: 177
Reputation: 69469
No you can't not change a photo in the photo album. You can copy them, them edit them and add a new photo to the photo album.
You can use UIImagePickerController to allow the user to select an image from the photo library. Or use AssetsLibrary to roll your own image picker.
You will have to use UIImageWriteToSavedPhotosAlbum to save the an UIImage
to the photo library.
Upvotes: 1