Which function is called when iPhone app is terminated?

后端 未结 5 2125
陌清茗
陌清茗 2020-12-11 04:42

I\'m working on a project in Xcode version 4.2.1 and in iOS 5.0. I\'m wondering which function will be called when you completely terminate an application, which means even

5条回答
  •  生来不讨喜
    2020-12-11 05:14

    - (void)applicationWillTerminate:(UIApplication *)application
    

    It's in the UIApplicationDelegate protocol.

提交回复
热议问题