Search code examples
objective-cxcode4ios5plist

How to create UIBackgroundModes keyin Info.plist for iOS5


I believe it's no longer called UIBackgroundModes in iOS5 and xCode 4.2. What's the updated method in the info plist?


Solution

  • Apple documentation shows that it's still supported under iOS5 with a couple of new iOS5-specific keys. Open Info.plist and type "UIBackgroundModes" into key field. That should be enough.