Phone splash screen shows white screen after splash screen - IOS

I am trying to kill a white screen that automatically loads within two seconds after I started the phonegap application after the splash screen in front of the login page.

I tried AutoHideSplashScreen to NO and added navigator.splashscreen.hide(); in login.html as indicated in the link below. But instead of a white screen, he launched a screensaver. Now, when starting the application, it is taken directly to login.html without a pop-up screen. Please help me kill the default white screen between the splash screen and login.html.

how to kill a white flickering screensaver at the beginning of an application for an iOS mobile phone

+1
ios iphone xcode ipad cordova
source share
1 answer

In the ViewController ViewDidload, Hide Webview and after loading it, Show it in the webViewDidFinishLoad method.

First you need to hide WebView in View DidLoad.

 - (void)viewDidLoad { [super viewDidLoad]; thewebview.Hidden=YES; } 

Then show the web view after the download is complete

  -(void)webViewDidFinishLoad:(UIWebView *)webView { NSLog(@"finish"); thewebview.Hidden=NO; } 
+1
source share

All Articles