I’ve followed the instructions noted in this post below, adding "viewport-fit=cover" to my meta in index.html. After building my app and running it on my iPhone, XCode doesn’t show any errors, just a white screen. When running in the browser, all works well and no errors as well.
Yes, I had same issue. Do you have any idea now?
If I run in iPhoneX, iPhone 4s or 5 simulator in Xcode 9, it works.
But run in iPhone 7, iPhone8, iPhone8 Plus it display only white blank screen after the launch screen.
I think I know my reason now.
I am using ios cordova v4.3.1, and I am trying the ionic tab sample app, it uses ios cordova v4.1.1 and it works.
So I replace the libs of ios cordova to v4.1.1. It works too.
My solution is replacing all files in and directory.
Replace the folder of “CordovaLib” and “cordova”. Whole folder replaced with ones in version 4.1.1.
Location: /platforms/ios/CordovaLib, /platforms/ios/corova
You can find the ones of version 4.1.1 in ionic sample projects.
Or you run the downgrading command. Delete existing version and install the 4.1.1 version. But for me,
it’s not good since I had some custom cordova plugin and standard installation will replace them.
I am also running into this issue on iOS 11 - with “viewport-fit=cover” the app only displays white screen.
If I reload page with safari development tools, then it displays properly the second time.
Perhaps it is worth mentioning that this app was built with earlier version of Ionic 2/3 and I had to add the viewport-fit tag manually.