Modify photos of the album photo - iphone

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?

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.

Related

save multiple images in custom album in ios5 but not in camera roll?

save multiple images in custom album in ios5 but not in camera roll?
i am using ALAssetsLibrary+CustomPhotoAlbum example, but it can save only once in custom album and duplicate in camera roll.
i want to save only in custom album through my app.
Can any one help to solve it......
You can't do that. Albums are strictly "smart albums", meaning that they can only have pictures in them that are somewhere else in the library. You see the same behavior in the Photos app: if you add a picture from the camera roll to an album, you can't delete the picture from the camera roll without deleting it from that album as well.

How to set the cover for custom album in iOS Photos?

This article is a great tutorial for creating custom photo album. However, it only sets the first photo as the album cover. I would like to set the latest saved photo as cover, just like the Camera Roll. Is there any API to do that?
There is no custom method to do that. The album cover is set automatically and represents the last photo assigned to the album.
Go into the iOS album you want to set the cover picture. Long press on the image you want to set as cover and slide it (move it) to make it the first picture of the album. That first picture is going to be the cover picture of the album.

How can I link an image in an app with a photo album image, so that likes in the app will like the image in the album?

I need to get a way to be able to have "Likes" from an image inside an app be equivalent to Likes on an album.
For example, if image1 is liked in the app, then the album containing image1 also gains that like.
Is this even possible?
you can use the plugin like button
here the link

how to save an online image in to iphone photo album

my application is an image base application.
there is an option for seach online.if we press a button there is a webview controller and
goes to google home page.there we can search image.my requirement is select an image and save
in to photo album
how it is possible.
Regards
Baiju
Download the image into a UIImage:
Create a UIImage with a URL in iOS
Save the UIImage to the photo album:
How to save picture to iPhone photo library?
Pretty easy to do those searches on Stack Overflow don't you think?

It's possible to save image to app’s own photo album without duplicate in Camera Roll?

I am trying to save a photo taken from my app to app’s own photo album (solution here http://www.touch-code-magazine.com/ios5-saving-photos-in-custom-photo-album-category-for-download/).
But image is saved in the Camera Roll and then creates a link in my own album. It's possible to save image to app’s own photo album without duplicate in Camera Roll?
Thanks!
unfortunately this is not possible. The Photo-Library works in the way that every photo in an "own photo album" is only a reference to the actual photo that is saved to the Camera Roll.
Cheers,
Hendrik