-
问题:
NSData ——> UIImage
? -
代码示例:
UIImagePNGRepresentation()
UIImage *image = [UIImage imageNamed:@"1"];
NSData *imagedata = UIImagePNGRepresentation(image);
NSData ——> UIImage
?UIImagePNGRepresentation()
UIImage *image = [UIImage imageNamed:@"1"];
NSData *imagedata = UIImagePNGRepresentation(image);