# 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:** 20
**Page:** 2

<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: [13 במרץ,‏ 2020,‏ 12:32am UTC](https://meta.discourse.org/t/blank-screen-when-switching-back-to-the-ios-app/142469/31 "2020-03-13T00:32:53Z")

</div>

Nooo! 🙂 is that a white screen with a very small gray bar at the top? That would indicate a different app state from what I have seen, what I saw was entirely white.

---

<div class="post-metadata">

### Author: ![gingerbeardman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gingerbeardman/32/540824_2.png) [@gingerbeardman](https://meta.discourse.org/u/gingerbeardman)
#### Post date: [13 במרץ,‏ 2020,‏ 1:08am UTC](https://meta.discourse.org/t/blank-screen-when-switching-back-to-the-ios-app/142469/32 "2020-03-13T01:08:43Z")

</div>

Yes, dark mode grey bar and white screen. Can’t say I remember seeing that combo before

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [23 במרץ,‏ 2020,‏ 2:18pm UTC](https://meta.discourse.org/t/blank-screen-when-switching-back-to-the-ios-app/142469/33 "2020-03-23T14:18:04Z")

</div>

I’m still experiencing this even on 1.6.1, will look at the app switcher next time it happens to see if I am also getting the grey bar.

---

<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: [23 במרץ,‏ 2020,‏ 2:25pm UTC](https://meta.discourse.org/t/blank-screen-when-switching-back-to-the-ios-app/142469/34 "2020-03-23T14:25:29Z")

</div>

Thanks. I’m no longer seeing this myself (but it’s clearly not fixed yet).

Can you try something @Stephen and @gingerbeardman: please disable Background App Refresh for the DiscourseHub app. If that still doesn’t fix the issue, when the app goes all white, can you check whether you can swipe down from the top 10-15% of the screen? (This would help determine whether the app is stuck on a loaded site or not.)

---

<div class="post-metadata">

### Author: ![gingerbeardman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gingerbeardman/32/540824_2.png) [@gingerbeardman](https://meta.discourse.org/u/gingerbeardman)
#### Post date: [23 במרץ,‏ 2020,‏ 7:51pm UTC](https://meta.discourse.org/t/blank-screen-when-switching-back-to-the-ios-app/142469/35 "2020-03-23T19:51:03Z")

</div>

I’ve not seen it for a while now.

I have Background App Refresh disabled completely (globally, for all apps) have done so for many years.

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [24 במרץ,‏ 2020,‏ 3:05am UTC](https://meta.discourse.org/t/blank-screen-when-switching-back-to-the-ios-app/142469/36 "2020-03-24T03:05:24Z")

</div>

Just had a white screen, no gray bar at the top either in the app, or in the app switcher.

Swiping down did finally get me back to the sites list.

---

<div class="post-metadata">

### Author: ![Justin\_Vega](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/justin_vega/32/159021_2.png) [@Justin\_Vega](https://meta.discourse.org/u/Justin_Vega)
#### Post date: [24 במרץ,‏ 2020,‏ 12:14pm UTC](https://meta.discourse.org/t/blank-screen-when-switching-back-to-the-ios-app/142469/37 "2020-03-24T12:14:43Z")

</div>

Someone should try testing this once iOS 13.4/iPadOS 13.4 releases in a few hours.

---

<div class="post-metadata">

### Author: ![gingerbeardman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gingerbeardman/32/540824_2.png) [@gingerbeardman](https://meta.discourse.org/u/gingerbeardman)
#### Post date: [31 במרץ,‏ 2020,‏ 11:40pm UTC](https://meta.discourse.org/t/blank-screen-when-switching-back-to-the-ios-app/142469/38 "2020-03-31T23:40:22Z")

</div>

Just had it again. An accurate swipe down got me back to the site list. I’m on iOS 13.4

---

<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: [31 במרץ,‏ 2020,‏ 11:41pm UTC](https://meta.discourse.org/t/blank-screen-when-switching-back-to-the-ios-app/142469/39 "2020-03-31T23:41:57Z")

</div>

Thanks, it helps to know that you could swipe down to dismiss, I can investigate that.

---

<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: [3 באפריל,‏ 2020,‏ 2:21am UTC](https://meta.discourse.org/t/blank-screen-when-switching-back-to-the-ios-app/142469/40 "2020-04-03T02:21:18Z")

</div>

Ok, @gingerbeardman please try the latest version of the app in TestFlight ([public beta link](https://testflight.apple.com/join/wV1h4svp)). IIRC, you have the “Open external links in app” setting enabled. With that setting enabled in the app, I could reproduce an error when a site had a link that the OS couldn’t open (for example a link to `about:blank` which is sometimes used when opening a new browser window). It should be fixed now 🤞.

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [3 באפריל,‏ 2020,‏ 2:30am UTC](https://meta.discourse.org/t/blank-screen-when-switching-back-to-the-ios-app/142469/41 "2020-04-03T02:30:35Z")

</div>

I don’t have that setting enabled, but am getting the white screens.

---

<div class="post-metadata">

### Author: ![gingerbeardman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gingerbeardman/32/540824_2.png) [@gingerbeardman](https://meta.discourse.org/u/gingerbeardman)
#### Post date: [3 באפריל,‏ 2020,‏ 11:23am UTC](https://meta.discourse.org/t/blank-screen-when-switching-back-to-the-ios-app/142469/42 "2020-04-03T11:23:30Z")

</div>

I’m not seeing an updated beta in the current TestFlight?

Clicking your link gives me a different beta and error:

 ![image](https://global.discourse-cdn.com/meta/original/3X/b/c/bc230b67389362dd630d5dec6cdf540373fc5d66.png)

---

<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: [3 באפריל,‏ 2020,‏ 2:14pm UTC](https://meta.discourse.org/t/blank-screen-when-switching-back-to-the-ios-app/142469/43 "2020-04-03T14:14:10Z")

</div>

Please try now, you should see build 280 in your TestFlight now (we have two groups of testers and TestFlight seems to choke if you try to switch groups via links).

---

<div class="post-metadata">

### Author: ![gingerbeardman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gingerbeardman/32/540824_2.png) [@gingerbeardman](https://meta.discourse.org/u/gingerbeardman)
#### Post date: [3 באפריל,‏ 2020,‏ 2:30pm UTC](https://meta.discourse.org/t/blank-screen-when-switching-back-to-the-ios-app/142469/44 "2020-04-03T14:30:17Z")

</div>

Downloaded. Will keep an eye on it.

---

<div class="post-metadata">

### Author: ![gingerbeardman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gingerbeardman/32/540824_2.png) [@gingerbeardman](https://meta.discourse.org/u/gingerbeardman)
#### Post date: [12 באפריל,‏ 2020,‏ 12:43pm UTC](https://meta.discourse.org/t/blank-screen-when-switching-back-to-the-ios-app/142469/45 "2020-04-12T12:43:55Z")

</div>

Still happening here for me.

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [12 באפריל,‏ 2020,‏ 1:49pm UTC](https://meta.discourse.org/t/blank-screen-when-switching-back-to-the-ios-app/142469/46 "2020-04-12T13:49:49Z")

</div>

Same, still able to swipe down to escape.

This was yesterday:

 ![image](https://global.discourse-cdn.com/meta/original/3X/f/b/fb9c117095d0671367da131a66df89a091383781.jpeg)

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [22 באפריל,‏ 2020,‏ 7:09am UTC](https://meta.discourse.org/t/blank-screen-when-switching-back-to-the-ios-app/142469/47 "2020-04-22T07:09:06Z")

</div>

Quick update, we noticed this is still happening @pmusaraj has a few new theories on how to work around this issue and will update here once they are applied.

---

<div class="post-metadata">

### Author: ![007](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/007/32/175794_2.png) [@007](https://meta.discourse.org/u/007)
#### Post date: [22 באפריל,‏ 2020,‏ 1:02pm UTC](https://meta.discourse.org/t/blank-screen-when-switching-back-to-the-ios-app/142469/48 "2020-04-22T13:02:03Z")

</div>

I’ve noticed this many times in the past few weeks. The quick workaround that solves it for me is to force close the app and then re-open, although there have been a few times where even that didn’t solve it and I had to keep it closed for a few minutes and then try again.

---

<div class="post-metadata">

### Author: ![eviltrout](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eviltrout/32/5275_2.png) [@eviltrout](https://meta.discourse.org/u/eviltrout)
#### Post date: [22 באפריל,‏ 2020,‏ 1:16pm UTC](https://meta.discourse.org/t/blank-screen-when-switching-back-to-the-ios-app/142469/49 "2020-04-22T13:16:41Z")

</div>

I usually force quit too. However apparently you can swipe down from the top to get the menu back too. (I’ve not confirmed this, but others at Discourse say it works.)

---

<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.

[Previous page](https://meta.discourse.org/t/blank-screen-when-switching-back-to-the-ios-app/142469.md?page=1)

[Next page](https://meta.discourse.org/t/blank-screen-when-switching-back-to-the-ios-app/142469.md?page=3)
