2012-12-06 116 views
0

我们config.xml中有的PhoneGap 2.1闪屏

<gap:splash src="splash.png" /> 
<gap:splash src="res/screen/ios/screen-iphone-portrait.png" gap:platform="ios" width="320" height="480" /> 
<gap:splash src="res/screen/ios/screen-iphone-portrait-2x.png" gap:platform="ios" width="640" height="960" /> 
<gap:splash src="res/screen/ios/screen-ipad-portrait.png" gap:platform="ios" width="768" height="1024" /> 
<gap:splash src="res/screen/ios/screen-ipad-landscape.png" gap:platform="ios" width="1024" height="768" /> 

然而,当我们上传到PhoneGap的建(build.phonegap.com)服务它不给我们在iOS上的启动画面构建/

+0

请参阅http://stackoverflow.com/questions/8156841/phonegap-splash-screen-for-android-app – ElitCenk

回答

0

您能否介绍一下您使用的设备类型?如果你正在iPhone 5上部署你的测试应用程序,恐怕你错过了初始屏幕。我遇到了与我的应用程序相同的问题。尝试创建具有以下屏幕尺寸的iphone 5图像:

<gap:splash src="resources/images/ios/Default_iphone5.png" width="640" height="1136" />