tags:

views:

296

answers:

1

Hi, I'm new to iphone development.Ihave already gothrough some of the exploring pages to crete UIBackgroundModes key in Info.plist for iOS4 .But which is little bit difficult to understand.So,plz giv some step by step procedure with screenshot example for easy understanding...and also specify what are the requirements are needed like iphone os version 4.0...

Thank u..,

+1  A: 

The UIBackgroundModes key identifies which background tasks your application supports. Its value is an array that contains one or more strings with the following values:

  • audio – The application plays audible content to the user while in the background.
  • location – The application keeps users informed of their location, even while running in the background.
  • voip – The application provides the ability for the user to make phone calls using an Internet connection.

You can edit the Info.plist file on Xcode. To add a new key, click on the + sign and write "UIBackgroundModes" as the key, make sure the type is set to string and then in value write audio, location or voip depending on your needs: Info.plist

This will only work on iOS 4.0 or greater.

ibeitia
Thank u so much....IBEITIA
Mano