Writing image metadata (EXIF/TIFF/IPTC) to image file in OS X
问题 I am creating a photo editing app, and so far I've managed to read the metadata from image files successfully (after getting an answer to this question: Reading Camera data from EXIF while opening NSImage on OS X). source = CGImageSourceCreateWithURL((__bridge CFURLRef)url, NULL); NSDictionary *props = (__bridge_transfer NSDictionary *) CGImageSourceCopyPropertiesAtIndex(source, 0, NULL); This copies all the metadata of the image file to a dictionary, and it works faily well. However, I