Saturday, March 30, 2013

Phonegap 2.5.0 Splashscreen goes down after load


When my phonegap app starts splash screen goes down 20px..
To resolve this issue I have made below changes in CDVSplashScreen.m. line no 116.

Replace 
_imageView.frame = CGRectMake(0, 0, _imageView.image.size.width, _imageView.image.size.height);

TO:
_imageView.frame = CGRectMake(0, -20, _imageView.image.size.width, _imageView.image.size.height);

I have made this changes for the iphone4 and 5 and i also test this in simulator.