开发者

UIBackgroundModes key not showing in Info.plist dropdown

开发者 https://www.devze.com 2023-01-13 03:52 出处:网络
I am tr开发者_如何转开发ying 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 am tr开发者_如何转开发ying 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


Open Info.plist as Plain text file and add:

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


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

0

精彩评论

暂无评论...
验证码 换一张
取 消