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.
精彩评论