1

am working on an app where i am loading one image from the bundle and with the help of quartz i am adding two red circles on that image, the image is loaded in the instance of the UIImageVIew class.

I want to save the image with the red circle, so far i have found only one method and thats

UIImageWriteToSavedPhotosAlbum(UIImage * image,id completionTarget,SEL completionSelector, void * contextInfo)

but its not working as it is saving the image from the bundle only, in some post i have read that it can be done using CALayer but i found no useful link to do that, i would be glad if you can post me the answer or any tutorial link to do that.

4

1 回答 1

0

这里有个窍门!请参阅此处的捕获 UIView,您可以捕获UIImageView快照并使用UIImageWriteToSavedPhotosAlbum.

于 2013-01-09T12:57:09.830 回答