// image 转 NSData
NSData *data = UIImagePNGRepresentation(image1);

// NSData 转 image
UIImage *image = [UIImage imageWithData:data];


作者:​​ CH520​​