I'am developing an Application where you can set a Rating (Starrating) for your images and filter them if the user activates this option.
With JPG Images I had my struggle because of a strange "Err-1" Error which I got when submitting my changes of the Image to the PhotoLibrary, but I could workaround this issue, as it seemed to be connected with the Orientation value.
But now after HEIC was released, I again get the same Error when I want to change the Starrating ("kCGImagePropertyIPTCStarRating"). My workaround with the Orientation didnt work here too. Also I tried setting the "kCGImagePropertyExifUserComment" which also failed with the strange Error "ERR-1".
When I tried changing the UserComment Value of a JPEG everything was fine.
Could anybody find a way to modify Heic Metadata? Or is this a Bug in the PhotoLibrary?