如何以编程方式即时修改 NSLocationWhenInUseUsageDescription
。我的消息取决于自定义应用语言,而不是系统语言。
最佳答案
您没有对 info.Plist
的写入权限,因此您无法动态修改它。如果你想改变语言,你可以使用本地化。 Apple Documentation说
If your app supports localization, be sure to localize CFBundleDisplayName by adding it to all your language-specific InfoPlist.strings files. Furthermore, be sure to use a name that complies with the App Review Guidelines for your app.
NSLocationWhenInUseUsageDescription
同样可以申请
关于ios - 以编程方式修改 NSLocationWhenInUseUsageDescription,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41326788/