iOS应用启动时删除Cordova徽标

时间:2015-03-13 19:43:49

标签: html5 cordova intel-xdk

我有一个使用英特尔XDK开发的HTML5应用程序。 它在Android上完美运行,但是当我在iOS中导出应用程序时,会出现带有cordova徽标的闪屏,然后是我自己的启动画面。当应用程序启动时,我无法找到任何隐藏此cordova徽标的方法,任何想法?

谢谢。

2 个答案:

答案 0 :(得分:3)

您可以在Cordova 3.X混合移动应用程序设置>下的项目面板上为项目设置所需的启动画面图像。启动图标和启动屏幕部分。您可以导入所需平台和尺寸的相应图像。

答案 1 :(得分:2)

我很欣赏它可能会很晚但我遇到了同样的问题并花了很多时间来寻找解决方案。 不知怎的,对任何人来说这似乎都不是问题。但实际上徽标是隐藏的,删除它并不像你期望的那么明显。 所以我会在这里写下我的解决方案,以便其他人可能会感兴趣 转到index.css并注释.app {}的样式 即。

.app {
    background:url(../img/logo.png) no-repeat center top; /* 170px x 200px */
    position:absolute;             /* position in the center of the screen */
    left:50%;
    top:50%;
    height:50px;                   /* text area height */
    width:225px;                   /* text area width */
    text-align:center;
    padding:180px 0px 0px 0px;     /* image height is 200px (bottom 20px are overlapped with text) */
    margin:-115px 0px 0px -112px;  /* offset vertical: half of image height and text area height */
                                   /* offset horizontal: half of text area width */
}

应该成为:     的.app {} 我希望它有所帮助