How to disable fast application switching (multitasking) on iOS 4?

前端 未结 1 1292
误落风尘
误落风尘 2020-12-09 10:59

In iOS 4, when a user presses the Home button, the running app will save the current state and go to background. However I\'m developing an app and I don\'t want it to go to

相关标签:
1条回答
  • 2020-12-09 11:46

    See "Opting Out of Background Execution" in the iOS Application Programming Guide:

    "...you can explicitly opt out of the background execution model by adding the UIApplicationExitsOnSuspend key to your application’s Info.plist file and setting its value to YES."

    0 讨论(0)
提交回复
热议问题