我想将图像数组保存到相册中。当我使用单个图像进行保存时,它可以正常工作[UIImage imageNamed:" test.png"]。但如果我使用图像阵列,我会收到错误'
NSArray *photos = [NSArray arrayWithObjects:
[UIImage imageNamed:@"img.jpg"],
[UIImage imageNamed:@"img1.jpg"],
[UIImage imageNamed:@"img2.jpg"],
nil] ;
for ( UIImage *imagesave in photos )
//image1 = [UIImage imageNamed:image];
[self.library saveImage:imagesave toAlbum:@"Art" withCompletionBlock:^(NSError *error) {
if (error!=nil) {
NSLog(@"Big error: %@", [error description]);
}
}];