Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

UIBackgroundModes key not showing in Info.plist dropdown

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

like image 484
TheOtherRob Avatar asked Aug 25 '10 05:08

TheOtherRob


2 Answers

Open Info.plist as Plain text file and add:

<key>UIBackgroundModes</key>
<array>
    <string>audio</string>
</array>
like image 50
richy Avatar answered Oct 20 '22 09:10

richy


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

like image 1
tobiasbayer Avatar answered Oct 20 '22 07:10

tobiasbayer