This is normal. If a task does not end in time when switching to the background, the previous screenshot or startup screen will be displayed when you return to the app. The system will take a screenshot of the current app interface when it is placed in the background. However, if the app has other tasks that have not been completed or the video interface will cause the system to fail to take a screenshot, the startup screen will be displayed the next time it is activated. This is system behavior, and there are no rules to follow, so you think it is an abnormal situation. If you want to prevent this situation, please check your app and pause or end all tasks when applicationWillResignActive, such as network requests, recording and playing audio and video, various background threads, etc. Of course, this cannot 100% guarantee that the system's screenshots will work properly. Some tasks will take time to pause, which will also cause the screenshots to fail.
This is normal. If a task does not end in time when switching to the background, the previous screenshot or startup screen will be displayed when you return to the app. The system will take a screenshot of the current app interface when it is placed in the background. However, if the app has other tasks that have not been completed or the video interface will cause the system to fail to take a screenshot, the startup screen will be displayed the next time it is activated. This is system behavior, and there are no rules to follow, so you think it is an abnormal situation.
If you want to prevent this situation, please check your app and pause or end all tasks when
applicationWillResignActive
, such as network requests, recording and playing audio and video, various background threads, etc. Of course, this cannot 100% guarantee that the system's screenshots will work properly. Some tasks will take time to pause, which will also cause the screenshots to fail.