what are the setting we change in info.plist for background process?
I'm developing an iPhone application that I want to run in the background. 开发者_开发技巧Stack Overflow, tell me, what do I have to change in the application's info.plist?
Any help would be appreciated, I'm not very familiar with this technology. Thanks.
You can set UIApplicationExitsOnSuspend
as false
in your info.plist to achieve this behaviour.
You can do nothing for this. ios 4.0 and later provide this functionality by default and you cant do any thing with lower one.
In info.plist add a new tag by clicking the plus symbol. It lists you all the other options you have. There you will have "Application does not run in background". Check or uncheck on the box as you need. So that it allows or doesn't allows your app to run in background.
精彩评论