Jailbroken iPhone iOS 7: Is it possible to close all apps in the background directly from Springboard without opening the background switcher panel?
I'm trying to do that in this way:
SBAppSliderController* switcherController = MSHookIvar<SBAppSliderController*>(self, "_switcherController");
[_switcherController _quitAppAtIndex:0];
and then I make a for
cycle in this way
- (void)_quitAppAtIndex:(unsigned int)arg1 {
if (arg1 == 0) {
for (NSString *appID in [self applicationList]) {
if (![appID isEqualToString:@"com.apple.springboard"])
[self _quitAppAtIndex:[[self applicationList] indexOfObject:appID]];
}
}
}