Use of background/foreground methods in AppDelegate
问题 I'm planning to implement multi-task in my app. I can see many methods here to do that in the AppDelegate like applicationWillResignActive , applicationDidEnterBackground , applicationWillEnterForeground , ... But.... I don't see the way they should be used, nor why they are not in the ViewControllers... Nor what they are here for. I mean : when the app enter in background, i don't know on which view my user is. And back, when the app comes into foreground, how would I know what to do and