Update:
I attempt to add a String value to the \"NSPhotoLibraryUsageDescription\"
key.
And it works.My build version
Localizing of info.plist
file may be very unuseful, especially if you use many languages in your apps.
The simplest way for localizing NSPhotoLibraryUsageDescription
, NSLocationWhenInUseUsageDescription
or NSCameraUsageDescription
keys is to describe it in InfoPlist.strings
file.
*.strings
file with name InfoPlist
;Localize...
button in file inspector and choose the default language;InfoPlist.strings
file. For example
in English:NSLocationWhenInUseUsageDescription = "Location usage description";
NSPhotoLibraryUsageDescription = "Photos usage description";
NSCameraUsageDescription = "Camera usage description";
For more information Apple docs