Post

Replies

Boosts

Views

Activity

HEIC: modify Metadata
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?
1
0
5.2k
Nov ’17
Key for Photo Selection Dialog won't be localized.
Hey, Since iOS14 the user can select a subset of Photos which your app can access. When the user chooses to select that option, he will get another dialog in which he is asked to update his Selection. In this Dialog the "NSPhotoLibraryUsageDescription" Key is used again. But this time it won't get localized. In my Info.plist I added the phrase "Photos usage description" as placeholder. In my InfoPlist.strings I have the localizations for each supported language. If tested several options to prevent this, but nothing changes in the repeating Dialog I always see "Photo Usage Description" and in the Initial Request for the Photo Library Access I get my localized Key. I also tried the Option "Localized resources can be mixed" which had no effect. Can anyone reproduce this or has a Solution for this?
5
2
4.3k
Oct ’20