I have my app opted in to saving and restoring the state. It is working, but quite often (more often than not) the screen snapshot that is displayed while restoring the app state is often from a previous saved state than the current saved state. This issue only occurs on actual devices, it seems to always have the correct snapshot displayed in the simulator.
Since the screenshot is generated and displayed by system frameworks, I am at a loss what I can do to ensure the correct image is displayed when restoring the state.
Any suggestions why this would happen, or better yet, what I can do to resolve the issue?
...and it is STILL happening in iOS 11.3