How to convert NSData value to UIImage
20,034
You can get UIImage from NSData as follows:
NSData *data = yourData;
UIImage *image = [UIImage imageWithData:data];
or
NSData *data = yourData;
UIImage *image = [[UIImage alloc] initWithData:data];
....
[image release];
Comments
-
iosDev about 4 years
Possible Duplicate:
NSData to UIImageHow do I convert a NSData value to UIImage?