标签:保存 image span tin photo progress ima inf mil
- (void)loadImageFinished:(UIImage *)image
{
UIImageWriteToSavedPhotosAlbum(image, self, @selector(image:didFinishSavingWithError:contextInfo:), (__bridge void *)self);
}
- (void)image:(UIImage *)image didFinishSavingWithError:(NSError *)error contextInfo:(void *)contextInfo
{
if (error == NULL) {
[EJProgressHUD showSuccess:@"保存成功!"];
}else
{
[EJProgressHUD showError:@"保存失败"];
}
// NSLog(@"image = %@, error = %@, contextInfo = %@", image, error, contextInfo);
}
标签:保存 image span tin photo progress ima inf mil
原文地址:http://www.cnblogs.com/jsonLing/p/7641761.html