# Blank screen when switching back to the iOS app

**URL:** <https://meta.discourse.org/t/blank-screen-when-switching-back-to-the-ios-app/142469>\
**Category:** Bug\
**Created:** [24 בפברואר,‏ 2020,‏ 12:35pm UTC](https://meta.discourse.org/t/blank-screen-when-switching-back-to-the-ios-app/142469 "2020-02-24T12:35:15Z")\
**Posts on this page:** 1\
**Showing post:** 50

<div class="post-metadata">

**Author:** ![pmusaraj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pmusaraj/32/119489_2.png) [@pmusaraj](https://meta.discourse.org/u/pmusaraj)\
**Post date:** [22 באפריל,‏ 2020,‏ 2:27pm UTC](https://meta.discourse.org/t/blank-screen-when-switching-back-to-the-ios-app/142469/50 "2020-04-22T14:27:57Z")

</div>

Yes, as Sam mentioned, I am still working on this. A beta version of the app is up but it hasn’t yet passed Apple’s beta review, will post the link here when it does.

My current understanding is that this happens when iOS terminates the webview (to reclaim memory, for example) but doesn’t terminate the rest of the app. In that scenario, the app is left in an odd state where its internal navigation is still in the webview route but the webview itself is terminated.

In the upcoming beta, I have added a way to dismiss the route when the `webViewWebContentProcessDidTerminate` hook is invoked. There are [reports](https://github.com/Telerik-Verified-Plugins/WKWebView/issues/248#issuecomment-235241805) that this hook isn’t reliably hit when the app is in the background, and the original issue is very hard to reproduce at will, so, let’s hope and see.

---

_[View the full topic](https://meta.discourse.org/t/blank-screen-when-switching-back-to-the-ios-app/142469)._
