kill application from other application on ios 6 using void kill dont work
问题 i got jailbreak iphone ios 6 in my tweak on ios 4&5 I used (void) kill to close other app running in the background. this is my code: #import "SBApplication.h" SBApplication *app ; app = [[objc_getClass("SBApplicationController") sharedInstance] applicationWithDisplayIdentifier:@"my killed program id "]; if(app) [app kill]; now when i trying that in ios 6 i cant get this to work ! need help? 回答1: Just to expand on Victors answer a bit... you want to get the pid from the application and if it