开发者

How to stop running iphone app in background in iphone sdk 4.0 and above

开发者 https://www.devze.com 2023-02-15 12:49 出处:网络
Please tell me some solution for how to stop app at background when we close the app in iphone sdk 4.0 a开发者_运维百科nd above.

Please tell me some solution for how to stop app at background when we close the app in iphone sdk 4.0 a开发者_运维百科nd above.

can any one provide me some sample code for it.

Thanks, Priyanka


Set the UIApplicationExitsOnSuspend key in your app's Info.plist to YES.

This will make the app quit when you press the home button, instead of being backgrounded.

0

精彩评论

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

关注公众号