App Crash despite NSPhotoLibraryUsageDescription

110 Views Asked by At

my app crashs for reason - missing key for Privacy NSPhotoLibraryUsageDescription - allthough i add exactly this key to the info.plist file. I converted the projet from Swift 3 to Swift 5. Maybe thats the cause?

I use the photo library for reading and writing. Reading(import) is strangly possible.

1

There are 1 best solutions below

0
Joe On

For EXPORT images to the library NSPhotoLibraryAddUsageDescription is obligatory! NSPhotoLibraryUsageDescription is not enought.