dengjunwen

Results 10 comments of dengjunwen

Wkwebview 不太了解了。在一直停留在两年前的理解。那时候的缓存方案是不成熟的。不过你可以下载到本地,加载本地的页面。这些例子网上有很多,我随便找了一个。https://blog.csdn.net/hanhailong18/article/details/79394856 > 在 2018年8月24日,下午12:03,远游の游子 写道: > > @dengjunwen @Apaid 请问一下现在有 WKWebView 比较成熟的缓存策略吗 > > — > You are receiving this because you were mentioned. > Reply to this email...

你编译一下就会有.a文件了。或者你去cocopod仓库里copy出来。

不可以的,是uiwebview

失败页面与正常的页面应该是两个url吧,不冲突吧? 说说你的情况

正常的页面是要有404的,在404上进行重新加载。或者可以在监听加载出错的时候,将制定换成的页面给清空了。 > 在 2018年8月24日,上午11:55,远游の游子 写道: > > 因为加载失败的页面我们是没有做404的,所以加载失败的页面就会被缓存下来,第二次网络请求加载成功就会加载原先缓存的那个失败的页面 > > — > You are receiving this because you commented. > Reply to this email directly, view it on GitHub ,...

@duqian291902259 原文中有很多东西没有提到。导致要走很多弯路。看这里https://github.com/dengjunwen/weexPageDemo,有demo详细说明

@wang111588 https://github.com/dengjunwen/weexPageDemo

https://github.com/dengjunwen/weexPageDemo https://github.com/dengjunwen/weexPageDemo > 在 2016年10月12日,下午5:13,wang111588 [email protected] 写道: > > @dengjunwen https://github.com/dengjunwen 已经404 > > — > You are receiving this because you were mentioned. > Reply to this email directly,...

我们是将服务器中的js下载下来的。所以显示本地的,要显示服务器的话,将 self.url = [[NSBundle mainBundle] pathForResource:@"bundlejs/index" ofType:@"js"]; self.url改为你的url就好了。