gpt4 book ai didi

ios - 以编程方式修改 NSLocationWhenInUseUsageDescription

转载 作者:行者123 更新时间:2023-11-28 15:59:07 26 4
gpt4 key购买 nike

如何以编程方式即时修改 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/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com