Pausing game during call, Difference between getting a call and pressing home button?
问题 My game pauses ok when home button is pressed. But it doesn't when I get a call. Its actions are resumed when the game becomes active. I don't get the difference between getting a call and pressing HB. Please help me out. Thanks. func pauseGame(){ initResumeButton() pause.removeFromParent() gamePaused = true self.paused = true } func resumeGame(){ resume.removeFromParent() initPauseButton() gamePaused = false self.paused = false } func registerAppTransitionObservers(){ NSNotificationCenter