这是我的应用代码
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徽标启动图像......为什么?我是否需要做更多工作才能让它发挥作用?
答案 0 :(得分: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>
`