White screen after returning from background on latest iOS/iPhone 16 Pro
Pre-checks
- This is not a feature request. Existing functionality does not work as intended, not missing functionality. I will request features via discussions, reddit or support
- I've searched and did not find a similar issue.
- My report does not have personal or private information like email address or recovery code
App version
360.260921.0
OS version
27.0.1
What happened?
Hi,
PR #11257 fixes one specific case related to issue #11232, but the blank white screen is still reproducible when returning to the app from the background on current iOS. The current fix only triggers when webViewWebContentProcessDidTerminate(_:) is called. In our case, the WebView still appears to be blank/invalid after foreground resume, even without that callback firing.
So the issue described in #11232 is still present in practice, and we likely need an additional recovery path on app activation:
• validate whether the WKWebView is still usable when the app becomes active again
• if the page is blank/invalid, reload loadMainPage(params: [:])
This would make the recovery robust even when the WebContent process is not explicitly reported as terminated..
Thanks.
Other context
No response
Source: tutao/tutanota