最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

javascript - How to fix while screen after splash screen in cordova ios? - Stack Overflow

matteradmin7PV0评论

While developing cordova app, I notice white screen after the splash screen and before html page.

Is there any solution to get rid off white screen?

I am facing this issue in iPhone app, I have used cordova helloWorld app so this issue is not related to plugins.

Cordova v7.0.1

While developing cordova app, I notice white screen after the splash screen and before html page.

Is there any solution to get rid off white screen?

I am facing this issue in iPhone app, I have used cordova helloWorld app so this issue is not related to plugins.

Cordova v7.0.1

Share Improve this question asked Jan 5, 2018 at 5:46 Farhan ChauhanFarhan Chauhan 5851 gold badge5 silver badges14 bronze badges 2
  • Possible duplicate of Cordova 3.4 iOS white screen after splash – RamblinRose Commented Jan 5, 2018 at 5:57
  • @RamblinRose thanks, but that solution is outdated and it doesn't solve my problem with xcode 9 and iPhone x. – Farhan Chauhan Commented Jan 5, 2018 at 9:01
Add a ment  | 

1 Answer 1

Reset to default 6

You are probably facing the same issue I was facing a while ago. Start off by not auto hiding the splash screen. Instead hide it on "deviceready".

To stop autohiding splash screen add the following line to config.xml

<preference name="AutoHideSplashScreen" value="false" />

To manually hide splash screen add the following inside the deviceready event in your entry point( probably index.html or the js file you are using in it for app namespace )

navigator.splashscreen.hide();

For more information, head to cordova-plugin-splashscreen documentation.

Post a comment

comment list (0)

  1. No comments so far