Home button press , Which AppDelegate method should i use for scheduling a local notification
问题 I would like to schedule a local notification as soon as the user hits the home button. Which App delegate method should I use in this case : applicationWillResignActive applicationDidEnterBackground applicationWillTerminate Well I guess I shouldn't use the third one, but what is the difference between the first two ? Is there any way to distinguish getting interrupted by a phone call/other notification and actually pressing the home button ? Thanks in advance. 回答1: To schedule local