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

后端 未结 12 1830
难免孤独
难免孤独 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:28

    As RGML say, you can create an InfoPlist.strings, localize it then add your key and the value like this: "NSLocationWhenInUseUsageDescription" = "Help To locate me!";

    It will add the key to your info.plist for the specified language.

提交回复
热议问题