如何停止iOS启动图像在Phonegap / Sencha Touch中向上移动 [英] How to stop iOS launch image moving up in Phonegap / Sencha Touch
问题描述
我有一个Sencha Touch 1.1 / Phonegap 1.3应用程式,我有一个肖像和风景发射图片大小根据iOS文件。
I have a Sencha Touch 1.1 / Phonegap 1.3 application and I've got a portrait and landscape launch image sized according to the iOS documentation.
启动,两个启动图像都正确定位。一旦显示加载旋转器,启动图像垂直移动少量,在屏幕底部留下白色条带(见图像)。
When the app first launches, both launch images are correctly positioned. Once the loading spinner is displayed, the launch image shifts vertically by a small amount leaving a white strip across the bottom of the screen (see image). I've added a red border around the gap so it can be seen - the red border does not appear on the device.
如何停止发射图像垂直移动?
How can I stop the launch image shifting vertically?
推荐答案
您必须在 config.xml
中更改以下行:
You must change in config.xml
following lines:
<preference name="show-splash-screen-spinner" value="true" />
<preference name="auto-hide-splash-screen" value="false" />
和
<preference name="AutoHideSplashScreen" value="false" />
<preference name="ShowSplashScreenSpinner" value="false" />
这篇关于如何停止iOS启动图像在Phonegap / Sencha Touch中向上移动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!