I am having some difficulty with Cordova 2.2.0.
I currently have AutoHideSplashScreen set to “NO”. After the app loading is complete, the splash screen shifts up 10px until I run navigator.splashscreen.hide(); to actually get rid of the splash screen. After it shifts up 10px, the app contents are visible in that 10px space that is left.
Because this only happens after the app has loaded, when I set AutoHideSplashScreen to “YES”, the 10px shift doesn’t happen. However, I need to be able to hide the splash screen myself.
This only happens on 3.5″ iOS devices. On 4″ devices the splash screen behaves normally.
Any recommendations? It would seem to me that the problem has to do with self.imageView.center in CDVViewController.m, but I’m not sure how to fix it.
I have fixed this problem by updating CDVViewController.m:
Previous:
New: