屏幕之间的飞溅屏幕和webview之间的空白屏幕iOS
问题描述:
我怎样才能避免出现在iphone的phonegap splashscreen和webview加载阶段之间的空白屏幕。我已遵循建议的解决方案..像 [1]:http://docs.phonegap.com/en/2.5.0/cordova_splashscreen_splashscreen.md.html#Splashscreen,and其他但即使设定时间延迟后,白色屏幕仍然存在。屏幕之间的飞溅屏幕和webview之间的空白屏幕iOS
I'm loading a external mobile website inside my local index.html file using window.location.href.
感谢
答
尝试删除页面过渡,这使我在一定程度上,并使用最新的PhoneGap。在使用jquery移动库之前,请使用以下代码。
$(document).bind("mobileinit", function(){
$.mobile.defaultPageTransition="none"
});
编辑:糟糕,它在启动画面和第一个画面之间。试试这个 link