-3

How to kill all applications which are running into background in springboard.

is there any way to this??

Thanks in advance

RayofHope
  • 1,187
  • 2
  • 14
  • 30

2 Answers2

2

your app can only interact with what is inside its sandbox, and cannot change the state of other apps.

manuelBetancurt
  • 15,428
  • 33
  • 118
  • 216
1

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

MCKapur
  • 9,127
  • 9
  • 58
  • 101