xcode - how can i overwrite an image saved in the photoalbum?(iPhone) -


in application, take images photoalbum through pickercontroller, code:

  - (ibaction)getimagefromphotoalbum:(id) sender {     pickercontroller.sourcetype = uiimagepickercontrollersourcetypesavedphotosalbum;     [self presentmodalviewcontroller:pickercontroller animated:yes]; }  - (void)imagepickercontroller:(uiimagepickercontroller *)picker didfinishpickingmediawithinfo:(nsdictionary *)info {     [self dismissmodalviewcontrolleranimated:yes];     myimage = [info objectforkey:@"uiimagepickercontrolleroriginalimage"]; }

to save image use code:

 uiimagewritetosavedphotosalbum(myimage, nil, nil, nil); 

how can save image on existing image in photoalbum?

thank

you can't.

i doubt ever permit either. if think it, user quite want original version better round changes make stored in new photo. user can choose how manage collection required.


Comments

Popular posts from this blog

c++ - Is it possible to compile a VST on linux? -

java - Output of Eclipse is rubbish -

jquery - Confused with JSON data and normal data in Django ajax request -