I have UIImage *photoImage containing jpg file. I would like to add EXIF data to this image like UserComment, ImageDescription and Software. I would like to save this file to Documents folder on my iOS device as myImage.jpg I don't want to save it to PhotoLibrary.
I am not sure how to add EXIF data.
I would save image to disk by using
NSData *photoData = UIImageJPEGRepresentation(photoImage, 1);
[photoData writeToFile:filePath atomically:YES];
How do I add EXIF data to photoData? Thanks