WKWebView does not display web page even though it finishes loading

一世执手 提交于 2019-12-11 04:45:07

问题


So we have this app for some customer who insisted on keeping cart and checkout hybrid rather than developing native pages. Now they have an intermediate web page (let's call it IWP) that is showed before order confirmation page. While doing checkout on Mobile Safari, this web page is displayed and then user is redirected to order confirmation page. But on WKWebView used in my app, IWP never shows in the WKWebView. It completes loading the IWP and after a second user is redirected to order confirmation page. I have tried debugging the web view load cycle and web view completes and calls every delegate method till didFinishNavigation. Still the page does not show up on the web view.

Any ideas, thoughts and suggestions what could be causing this problem?

来源:https://stackoverflow.com/questions/39792139/wkwebview-does-not-display-web-page-even-though-it-finishes-loading

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!