My NSData which contains an image taken from an external hardware has metadata.. I have tested it by uploading the image to AWS.
I have tried these two conversions:
UIImage *image = [UIImage imageWithData:_downloadedImageData ];
UIImage *image = [[UIImage alloc] initWithData:_downloadedImageData];
I have done my research and found out whenever NSData is converted to UIImage or vice versa the metadata (EXIF data) is lost. How do I convert such that my meta exits in both conversion i.e NSData to UIImage and vice versa
Help much appreciated