2012-04-11 99 views

回答

27

您可以從NSData得到UIImage如下:

NSData *data = yourData; 

UIImage *image = [UIImage imageWithData:data]; 

NSData *data = yourData; 

UIImage *image = [[UIImage alloc] initWithData:data]; 
.... 
[image release];