iOS 6 iPhone 5应用程序不全屏在Phonegap构建?

问题描述:

嘿,我所有我运行我的应用程序,它似乎是我的Android设备上的全屏,但它有iPhone 5顶部/底部的黑色条....我需要设置为那些工作的设置?iOS 6 iPhone 5应用程序不全屏在Phonegap构建?

我的应用程序看起来我的Android的方式是这样的:

enter image description here

它看起来在我的iPhone 5的方式是这样的:

enter image description here

对于您的应用添加默认图像为iphone 5,[email protected]。这自动摆脱了酒吧。

+0

就是这样。谢谢! – StealthRT 2013-03-11 12:19:32

给多一点细节,这条线,以及相应的图像添加到您的config.xml文件:

<gap:splash src="images/[email protected]" gap:platform="ios" width="640" height="1136" /> 

它也发生在未指定启动画面文件的。 前往

目标设置 - >常规 - >应用程序图标和启动图像 - >启动屏幕文件 - >(选择)Main.Storyboard。

完成!