开发者

UIBackgroundModes key not showing in Info.plist dropdown

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜