Obj-C Check if image already exists in Photos gallery
In my app I have to implement save image feature. I have managed saving like this: UIImage *image = [UIImage imageNamed:actualBackground]; UIImageWriteToSavedPhotosAlbum( image, self, @selector(thisImage:hasBeenSavedInPhotoAlbumWithError:usingContextInfo:), nil); /* ... */ - (void)thisImage:(UIImage *)image hasBeenSavedInPhotoAlbumWithError:(NSError *)error usingContextInfo:(void *)ctxInfo { if (!error){ UIImagePickerController *picker = [[UIImagePickerController alloc] init]; [self presentViewController:picker animated:YES completion:nil]; } } Unfortunately I have to check if file already