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

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

    For anyone experiencing the problem of the info.plist not being included when trying to add localizations, like in Xcode 9.

    You need make the info.plist localiazble by going into it and clicking on the localize button in the file inspector, as shown below.

    The info.plist will then be included in the file resources for when you go to add new Localizations.

提交回复
热议问题