equal
deleted
inserted
replaced
255 image = [[UIImage alloc] initWithCGImage:imageRef scale:1 orientation:UIImageOrientationRight]; |
255 image = [[UIImage alloc] initWithCGImage:imageRef scale:1 orientation:UIImageOrientationRight]; |
256 else |
256 else |
257 image = [[UIImage alloc] initWithCGImage:imageRef]; |
257 image = [[UIImage alloc] initWithCGImage:imageRef]; |
258 CGImageRelease(imageRef); |
258 CGImageRelease(imageRef); |
259 |
259 |
260 UIImageWriteToSavedPhotosAlbum(image, self, @selector(image:didFinishSavingWithError:contextInfo:), (void *)alert); // add callback for finish saving |
260 // add callback for cleaning memory and removing alert |
|
261 UIImageWriteToSavedPhotosAlbum(image, self, @selector(image:didFinishSavingWithError:contextInfo:), (void *)alert); |
261 } |
262 } |
262 |
263 |
263 |
264 |
264 @end |
265 @end |