I'm trying to add some extra information to image files when a user takes a picture in iOS. Is there a way to add more key/value pairs to an image's metadata? I've been looking into the ImageIO framework, but everything seems to be a constant. This example in Objective-C is only editing certain pre-existing properties: Is it possible to add own metadata in captured Images in Swift. And this Swift example allows a user to read the metadata stored in an image: iOS 8 Photos framework. Access photo metadata.
Is adding new information to .jpeg images possible? And if so, what is an example in Swift?