0
앱 패키지를 빌드하면 모든 것이 정상적으로 작동하고 있지만 스플래시 화면 후에 장치에 2 초 동안 흰색 화면이 표시됩니다. 이 문제에 대한 많은 질문을 보았지만 내 앱이 잘못되어 가고있는 적절한 솔루션을 찾지 못했습니다. 나는 나에게 여기스플래시 화면과 시작 화면 사이에 흰색 화면이 있습니다. 앱 빌드 패키지 후 index.html sencha touch
도움 gap.Please 전화를 사용하고 나의 index.html을하다
<!DOCTYPE HTML>
<html manifest="" lang="en-US">
<head>
<meta
charset="UTF-8">
<meta
name="format-detection" content="telephone=no">
<title>Test APP </title>
<link href="touch/resources/css/app.css" rel="stylesheet" type="text/css" />
<script src="touch/sencha-touch-all-debug.js" type="text/javascript"></script>
<script src="js-cordova/ios/cordova-2.7.0.js" type="text/javascript"></script>
<script src="js-cordova/ios/barcodescanner.js"type="text/javascript"></script>
<script type="text/javascript">
document.addEventListener("deviceready", onDeviceReady,true);
document.addEventListener("backbutton", onBackKeyDown,false);
function onDeviceReady()
{
setTimeout(function()
{
navigator.splashscreen.hide();
},50000);
document.addEventListener("backbutton", onBackKeyDown,false);
}
</script>
<style type="text/css">
html, body {
height: 100%;
background-color: #7f1a1a;
background : url('uploads/Samsung.png') center no-repeat;
}
#appLoadingIndicator {
position: absolute;
top: 50%;
margin-top: -15px;
text-align: center;
width: 100%;
height: 30px;
-webkit-animation-name: appLoadingIndicator;
-webkit-animation-duration: 0.5s;
-webkit-animation-iteration-count: infinite;
}
#appLoadingIndicator > * {
display: inline-block;
height: 30px;
-webkit-border-radius: 15px;
margin: 0 5px;
width: 30px;
opacity: 0.8;
}
@-webkit-keyframes appLoadingIndicator{
0% {
opacity: 0.8
}
50% {
opacity: 0
}
100% {
opacity: 0.8
}
}
</style>
<!-- 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>
<div id="appLoadingIndicator">
</div>
</body>
</html>