iPhone : how to kill background running application from springboard?
-
12-06-2021 - |
Вопрос
How to kill all applications which are running into background in springboard.
is there any way to this??
Thanks in advance
Решение
your app can only interact with what is inside its sandbox, and cannot change the state of other apps.
Другие советы
You cannot kill any other apps than your own. But to kill your app when you enter background, type:
exit(0);
Inside the UIApplicationDelegate method:
applicationDidEnterBackground
You will find that in mainly your app delegate class
Не связан с StackOverflow