-1

I'v found an project that allow some action in SpringBoard so can we create an app to kill all apps running on the background??

rmaddy
  • 314,917
  • 42
  • 532
  • 579

1 Answers1

1

Yes you can but you have to use the private framework BackBoardServices you can find the headers of this framework here

BKSTerminateApplicationGroupForReasonAndReportWithDescription(1, 5, 21, @"Kill all the apps");

or if you want to kill only a specific app

BKSTerminateApplicationForReasonAndReportWithDescription(@"com.apple.mobilesafari", 5, 1, @"Kill safari");
Karim H
  • 1,543
  • 10
  • 24