Hi all,
I am trying to save the images I have in an image view to the phones library, but they aren't showing up when I save them using the methods below
Code:
-(IBAction)saveImage{
UIImageWriteToSavedPhotosAlbum(myInfo.image.image, self, @selector(image:didFinishSavingWithError:contextInfo:), nil);
}
-(void)image:(UIImage *)image didFinishSavingWithError:(NSError *)error contextInfo:(void *)contextInfo {
UIAlertView *alertView = [[UIAlertView alloc]
initWithTitle:NSLocalizedString(@"GO",@"Saved image message: title")
message:NSLocalizedString(@"Check library!",@"Saved image message")
delegate:nil
cancelButtonTitle:NSLocalizedString(@"OK",@"OK Button")
otherButtonTitles:nil];
[alertView show];
[alertView release];
}
Anybody see what the problem is??
Thank you!