How to convert NSData value to UIImage

Possible duplicate:
NSData to UIImage

How to convert NSData value to UIImage?

+6
ios uiimage nsdata
Apr 11 '12 at 7:16
source share
1 answer

You can get UIImage NSData as follows:

NSData *data = yourData; UIImage *image = [UIImage imageWithData:data]; 

or

 NSData *data = yourData; UIImage *image = [[UIImage alloc] initWithData:data]; .... [image release]; 
+27
Apr 11 '12 at 7:20
source share



All Articles