开发者

what are the setting we change in info.plist for background process?

开发者 https://www.devze.com 2023-03-14 08:56 出处:网络
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?

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 falsein 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.

0

精彩评论

暂无评论...
验证码 换一张
取 消