应用程序因错误而崩溃_NSCFConstantString CGImage]: unrecognized selector sent to instance
尝试使用此代码的应用程序将图像保存到相册时
int currentimage = _imageScrollView.contentOffset.y / [pictures count];
UIImage *imageToShow = [pictures objectAtIndex:currentimage];
UIImageWriteToSavedPhotosAlbum(imageToShow, self, @selector(image: didFinishSavingWithError:contextInfo:), nil);