2010-09-15 42 views

回答

0

使用exit(0),每當你想終止通過代碼

編輯的應用:(由SYAM回答)

Class $SBApplicationController=objc_getClass("SBApplicationController") SBApplication *app=[[$SBApplicationController sharedInstance] applicationWithDisplayIdentifier:displayIdentfier]; 
if(app) [app kill]; 

編碼愉快...

+0

Hey..Than ks的響應..但我需要從另一個應用程序在後臺運行殺死應用程序...我使用越獄iphone.also我能夠使用mobilesubstrate..Any Idea? – 2010-09-15 04:34:22

+0

嘿..我的問題得到修復 – 2010-09-15 05:02:34

+0

類$ SBApplicationController = objc_getClass(「SBApplicationController」)SBApplication * app = [[$ SBApplicationController sharedInstance] applicationWithDisplayIdentifier:displayIdentfier];如果(app) [app kill]; – 2010-09-15 05:03:46

相關問題