//后台进前台通知 UIApplicationDidBecomeActiveNotification [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(didBecomeActive) name:UIApplicationDidBecomeActiveNotification object:nil]; //进入后台UIApplicationDidEnterBackgroundNotification [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(didEnterBackground) name:UIApplicationDidEnterBackgroundNotification object:nil];
我们
来源:https://www.cnblogs.com/hecanlin/p/12024377.html