# App shows white screen after splash screen on iOS 14

**URL:** <https://forum.ionicframework.com/t/app-shows-white-screen-after-splash-screen-on-ios-14/196733>\
**Category:** Ionic Angular\
**Created:** [September 22, 2020, 4:57pm UTC](https://forum.ionicframework.com/t/app-shows-white-screen-after-splash-screen-on-ios-14/196733 "2020-09-22T16:57:06Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jcano](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/jcano/32/134138_2.png) [@jcano](https://forum.ionicframework.com/u/jcano)\
**Post date:** [September 22, 2020, 4:57pm UTC](https://forum.ionicframework.com/t/app-shows-white-screen-after-splash-screen-on-ios-14/196733/1 "2020-09-22T16:57:06Z")

</div>

Hi folks,

I’ve perused the forum but have yet to find a solution to my problem.

My Ionic Capacitor app works fine in the iOS simulator, but does not run on device. This is my first time running it on device, I somewhat suspect it has something to do with iOS 14. Here are the native logs:

```auto
Loading network plugin
2020-09-22 09:46:52.678822-0700 App[4078:1662293] CAPKeyboard: resize mode - native
⚡️ Loading app at http://localhost:8100...
2020-09-22 09:46:52.741822-0700 App[4078:1662293] WF: === Starting WebFilter logging for process App
2020-09-22 09:46:52.741864-0700 App[4078:1662293] WF: _userSettingsForUser mobile: {
    filterBlacklist = (
    );
    filterWhitelist = (
    );
    restrictWeb = 1;
    useContentFilter = 0;
    useContentFilterOverrides = 0;
    whitelistEnabled = 0;
}
2020-09-22 09:46:52.741904-0700 App[4078:1662293] WF: _WebFilterIsActive returning: NO
APP ACTIVE
Reachable via WiFi
2020-09-22 09:46:52.886451-0700 App[4078:1662293] [Process] 0x101828218 - [pageProxyID=6, webPageID=7, PID=4079] WebPageProxy::didFailProvisionalLoadForFrame: frameID = 3, domain = NSURLErrorDomain, code = -1004
⚡️ WebView failed provisional navigation
⚡️ Error: Could not connect to the server.

```

Has anyone else run into this issue?

Ionic info:

```auto
$ ionic info

Ionic:

   Ionic CLI : 6.11.8 (/path/to/node_modules/@ionic/cli)
   Ionic Framework : @ionic/angular 5.3.3
   @angular-devkit/build-angular : 0.803.29
   @angular-devkit/schematics : 8.3.29
   @angular/cli : 8.1.3
   @ionic/angular-toolkit : 2.3.3

Capacitor:

   Capacitor CLI : 2.4.1
   @capacitor/core : 2.4.1

Cordova:

   Cordova CLI : not installed
   Cordova Platforms : not available
   Cordova Plugins : not available

Utility:

   cordova-res : not installed
   native-run : not installed

System:

   NodeJS : v14.11.0 (/Users/justincano/.nvm/versions/node/v14.11.0/bin/node)
   npm : 6.14.8
   OS : macOS Catalina

```

---

<div class="post-metadata">

**Author:** ![rapropos](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/rapropos/32/100227_2.png) [@rapropos](https://forum.ionicframework.com/u/rapropos)\
**Post date:** [September 22, 2020, 7:00pm UTC](https://forum.ionicframework.com/t/app-shows-white-screen-after-splash-screen-on-ios-14/196733/2 "2020-09-22T19:00:53Z")

</div>

Does this happen with predictable, consistent timing?  
If so, does it happen at startup, or when you navigate to a particular page?  
When whatever page that triggers this is active, can you post the complete URL to any external resources (used in places like `<img>` or `<video>` `src` attributes, for example) that are hosted by that page?

---

<div class="post-metadata">

**Author:** ![jcano](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/jcano/32/134138_2.png) [@jcano](https://forum.ionicframework.com/u/jcano)\
**Post date:** [September 22, 2020, 10:19pm UTC](https://forum.ionicframework.com/t/app-shows-white-screen-after-splash-screen-on-ios-14/196733/3 "2020-09-22T22:19:23Z")

</div>

Yep, this is predictable and with consistent timing. It actually happens at app startup, immediately after the splash screen, making the app unusable.

---

<div class="post-metadata">

**Author:** ![rapropos](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/rapropos/32/100227_2.png) [@rapropos](https://forum.ionicframework.com/u/rapropos)\
**Post date:** [September 23, 2020, 12:00am UTC](https://forum.ionicframework.com/t/app-shows-white-screen-after-splash-screen-on-ios-14/196733/4 "2020-09-23T00:00:15Z")

</div>

> [@jcano](#):
>
> It actually happens at app startup

OK, then I would like to see the full URLs of any external assets referenced by whatever the page is that would be displayed at app startup.

---

<div class="post-metadata">

**Author:** ![jcano](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/jcano/32/134138_2.png) [@jcano](https://forum.ionicframework.com/u/jcano)\
**Post date:** [September 23, 2020, 12:13am UTC](https://forum.ionicframework.com/t/app-shows-white-screen-after-splash-screen-on-ios-14/196733/5 "2020-09-23T00:13:27Z")

</div>

I figured it out, the solution was to target the iOS platform when building the project:

```auto
$ ionic build --prod --platform=ios

```

Thanks for your time!
