Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Save UIImage to Photo Library Instead of Camera Roll

I know how to save an image using standard API calls to the camera roll. I also know that devices without a camera get saved to the Photo Library.

For devices with a camera, how do I save a UIImage to the Photo Library INSTEAD of the camera roll?

like image 280
jjxtra Avatar asked Apr 20 '12 04:04

jjxtra


1 Answers

You Should try this method provide by IOS SDK,

UIImageWriteToSavedPhotosAlbum(myImage, nil, nil, nil );
like image 108
Ankit Gupta Avatar answered Nov 15 '22 01:11

Ankit Gupta