In my iPhone App I am storing image into NSData by
UIImage *image =imageView.image;
NSData *myData = UIImagePNGRepresentation(image);
But How to get back "image" from "NSData" and I can display it again into in to UIImageView.
Please Help and Suggest, Thanks.
have you tried +[UIImage imageWithData:]?
UIImage *img=[UIImage imageWithData:data];
[yourImageView setImage:img];
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With