1

这是我的应用程序代码

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 logo的启动画面……为什么?我需要做更多的事情来让它工作吗?

4

1 回答 1

0

您是否尝试编辑 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>

`

于 2013-07-31T07:40:58.240 回答