iPad application will be for a long time on hold
After the iPad will often encounter such a situation, open an application and then directly lock screen or do not operate, so for a few days, after unlocking the screen, this application is still in the state a few days ago, can continue to operate without killed or reboot the system.
So some business to take into account this situation, you can monitor the application UIApplication.willResignActiveNotification
, UIApplication.willEnterForegroundNotification
or UIApplication.didBecomeActiveNotification
the state for processing.
Reproduced in: https: //www.jianshu.com/p/b30d226b90ca