- (void)applicationWillTerminate:(UIApplication *)application {
NSLog(@"applicationWillTerminate"); //======>1
}
- (void)dealloc {
NSLog(@"dealloc"); //=======>2
[window release];
[super dealloc];
}
爲什麼不是1 & 2 textout msg當我退出此程序調試?......關於applicationWillTerminate
yes,standerd退出Cmd-Q,在調試模式下不釋放 – user400827 2010-07-24 04:02:17