UIBackgroundModes 键未显示在 Info.plist 下拉列表中

发布于 2024-09-15 17:25:30 字数 154 浏览 1 评论 0原文

我正在尝试升级较旧的 iPhone 项目以采用背景音频流,但是“所需的背景模式”键未显示在 Info.plist 下拉菜单中。

我已将基础 SDK 设置为 4.0。是否有另一个项目设置来控制哪些 Info.plist 键可用?

亲切的问候,

罗布

I am trying to upgrade an older iPhone project to adopt background audio streaming, however the "Required background modes" key is not showing up in the Info.plist drop-down menu.

I have set the base SDK to 4.0. Is there another project setting that governs which Info.plist keys are available?

Kind regards,

Rob

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

只为守护你 2024-09-22 17:25:30

以纯文本文件形式打开 Info.plist 并添加:

<key>UIBackgroundModes</key>
<array>
    <string>audio</string>
</array>

Open Info.plist as Plain text file and add:

<key>UIBackgroundModes</key>
<array>
    <string>audio</string>
</array>
疾风者 2024-09-22 17:25:30

您可以将 plist 作为文本文件打开并自行输入密钥。

You can open the plist as a text file and enter the key yourself.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文