iOS - Issues adding kCGImagePropertyExifUserComment to image
问题 I'm having problems writing a kCGImagePropertyExifUserComment to my image. My code (overall) works, as it writes GPS coordinates without a hassle. However, writing some additional info in the UserComment field is non-working (and I'm not sure why). Code is: CFDictionarySetValue(mutable, kCGImagePropertyExifUserComment, [NSString stringWithFormat:@"%0.0f,%0.0f,%0.0f",yaw,pitch,roll]); Anyone have an idea on this? 回答1: If anyone else is wondering how to do this, I've finally figured it out: