我知道-applicationWillResignActive会在来电时被调用,但如果用户点击"退出"按钮(iPhone正面唯一的按钮),是否有一个标准方法被调用?
- (void)applicationWillTerminate:(UIApplication *)application,在UIApplicationDelegate协议中.
- (void)applicationWillTerminate:(UIApplication *)application