Extjs 启动图像-splashscreen

Extjs 启动图像-splashscreen,extjs,sencha-touch,sencha-touch-2,Extjs,Sencha Touch,Sencha Touch 2,这是我的应用程序代码 Ext.application({ {...} isIconPrecomposed: false, name: 'CarboZero', startupImage: { '320x460': 'resources/startup/splashscreen.png', '640x920': 'resources/startup/splashscreen.png', '640x1096': 'r

这是我的应用程序代码

Ext.application({

    {...}

    isIconPrecomposed: false,
    name: 'CarboZero',
    startupImage: {
        '320x460': 'resources/startup/splashscreen.png',
        '640x920': 'resources/startup/splashscreen.png',
        '640x1096': 'resources/startup/splashscreen.png',
        '768x1004': 'resources/startup/splashscreen.png',
        '748x1024': 'resources/startup/splashscreen.png',
        '1536x2008': 'resources/startup/splashscreen.png',
        '1496x2048': 'resources/startup/splashscreen.png'
    },

    launch: function() {

        Ext.create('CarboZero.view.InitView', {fullscreen: true});
    }

});

当它在IOS模拟器中启动时,它仍然显示sencha徽标启动图像。。。为什么?我还需要做些什么才能让它工作吗?

您是否尝试编辑index.html文件?理论上,它应该消除闪屏。我是这样做的:

 <!DOCTYPE HTML>
 <html manifest="" lang="en-US">
 <head>
 <meta charset="UTF-8">
 <title>YourApp title</title> 
  <!-- The line below must be kept intact for Sencha Command to build your application -->
  <script id="microloader" type="text/javascript" src="touch/microloader/development.js">   
 </script>
  </head>
 <body>
  </body>
 </html>

`

事实是我想要一个闪屏,只是我想要我们的闪屏,而不是sencha的。我需要为此向index.html添加一些东西吗?我想是的。因为默认情况下,初始屏幕在index.html文件中,所以修改它应该不会有问题。还要确保在app.scss文件中检查您的样式。让我知道这是怎么回事。祝你好运