How can we check ios app killed by user or iOS

If the application is completed ~ 10 minutes in the background, it will be suspended. An application can be killed in two ways:

  • iOS can kill the application: in this case it will call "applicationWillTerminate".

  • The user can explicitly kill applications using the multitasking interface. (By double pressing the "Home" button and pressing - (red))

In the second scenario, how can we get this application killed by the user?

I check the question below, but there is no fruitful result: Application killed by user

+5
source share
1 answer

, applicationWillTerminate , iOS .

applicationWillTerminate , ( iOS, ). background , , .

applicationWillTerminate: - , . , .

enter image description here

- . . , , . , , , . , , . " ".

+13

All Articles