iPad application will be for a long time on hold

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.willEnterForegroundNotificationor UIApplication.didBecomeActiveNotificationthe state for processing.

Reproduced in: https: //www.jianshu.com/p/b30d226b90ca

Guess you like

Origin blog.csdn.net/weixin_33785972/article/details/91057249