阅读背景:

iPhone:离开应用程序的正确方法是什么?

来源:互联网 

Hallo Everyone,

with the iOS 4, the iPhone is supporting Multitasking, what is very nice, but something I do not wish to support in my Application. I mean, when the user press the Home-button, I want my application to finish and not to enter in Background. With the iOS 4, when the User press the Home-button, the App calls the applicationDidEnterBackground: delegate's method to enter in Background and in order to "force" the Application to finish when the user press the Home button, I've done following implementation:with the iOS 4, the iPhone is




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: