How to localise a string inside the iOS info.plist file?

后端 未结 12 1763
难免孤独
难免孤独 2020-11-22 17:13

As you might know the iOS 8 requires NSLocationWhenInUseUsageDescription key for using user\'s location. I have added this key and some gen

12条回答
  •  失恋的感觉
    2020-11-22 17:35

    When using InfoPlist.strings file (in XCode it should be placed next to Info.plist file - real file location can be anywhere within the project probably

    ) be careful to use the key's short name for the translation.

    I was trying to use Privacy - Camera Usage Description, but the working key is NSCameraUsageDescription

提交回复
热议问题