[英]Sencha Touch 2 - Iphone app - blank white screen
I am building iphone app using sencha touch 2 command. 我正在使用sencha touch 2命令构建iPhone应用程序。 App works fine except, when I open it on iphone it shows splash screen and then shows white blank screen for 1-2 seconds. 应用程序运行正常,但当我在iPhone上打开它时,它会显示启动屏幕,然后显示白色空白屏幕1-2秒。 I believe it could be the issue of gathering all sencha js files to execute. 我相信这可能是收集所有要执行的sencha js文件的问题。 But is there any way, we can show temporary screen instead of white blank screen? 但是有什么办法可以显示临时屏幕而不是白色空白屏幕?
I am not using phone gap to build iphone app. 我没有使用手机间隙来构建iPhone应用程序。
Thanks, Viral. 谢谢,病毒。
In phonegap based applications, there will be a provision for increasing the splash screen duration. 在基于phonegap的应用程序中,将提供增加初始屏幕持续时间的措施。 Search for the same thing. 搜索同一件事。 You may find a solution for the way you are building your app(not phonegap) 您可能会找到构建应用程序的解决方案(不是phonegap)
Edit: Try lazyload.. ie, while the content is loading use a throbber like thing. 编辑:尝试lazyload ..即,正在加载内容时,使用类似东西的东西。 Because blank screen may seems to be like the application is not working properly 由于黑屏似乎似乎是应用程序无法正常运行
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.