【问题标题】:Blank Screen between a SplashScreen and webview in phonegap iOSphonegap iOS 中的 SplashScreen 和 webview 之间的空白屏幕
【发布时间】:2013-07-11 13:57:30
【问题描述】:

如何避免在 iOS 中的 phonegap 闪屏和 webview 加载阶段之间出现空白白屏。我已遵循建议的解决方案..like [1]:http://docs.phonegap.com/en/2.5.0/cordova_splashscreen_splashscreen.md.html#Splashscreen,andother 但设置延时后白屏依然存在。

I'm loading a external mobile website inside my local index.html file using window.location.href.

谢谢

【问题讨论】:

    标签: javascript ios html cordova


    【解决方案1】:

    尝试删除页面过渡,这在一定程度上帮助了我,并使用了最新的 phonegap。在包含 jquery 移动库之前使用以下代码。

    $(document).bind("mobileinit", function(){
    $.mobile.defaultPageTransition="none"
    });
    

    编辑:糟糕,它在初始屏幕和第一个屏幕之间。试试这个 link

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-06-07
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-01-13
      • 2020-07-17
      相关资源
      最近更新 更多