0

Can you localize the following keys in your iOS app's .plist file?

  • NSAppleMusicUsageDescription
  • NSCalendarsUsageDescription
  • NSCameraUsageDescription
  • NSLocationWhenInUseUsageDescription
  • NSMicrophoneUsageDescription
  • NSPhotoLibraryUsageDescription
esilver
  • 27,713
  • 23
  • 122
  • 168
  • If you paste those keys into the "Key" column when you create a new row in your `info.plist` - Xcode will handle them accordingly.. For instance when you paste in `NSPhotoLibraryUsageDescription`, it automatically converts it to "Privacy - Photo Library Usage Description", and then you put a custom description in the value column to show the user when requesting access to their photo library the first time. – Pierce Jan 13 '17 at 03:31
  • Right -- but can that custom description be localized into different languages, or must it always be in one language (in my case, English?) – esilver Jan 13 '17 at 04:57
  • The full answer is found here: http://stackoverflow.com/questions/25736700/how-to-localise-a-string-inside-the-ios-info-plist-file – esilver Jan 14 '17 at 01:35

0 Answers0