Giter Site home page Giter Site logo

Comments (7)

xiubojin avatar xiubojin commented on July 28, 2024

我这里没有出现,我想了解一下你的使用场景和操作路径,可以留一个你的联系方式吗,wechat或qq?

from jxbwkwebview.

xiubojin avatar xiubojin commented on July 28, 2024

你是通过pool使用的JXBWebView吗?如果是通过pool获取JXBWebView,在这个WebView使用完后是否用pool进行了回收?如果没有进行回收就会出现你所说的情况。


2018年10月19日又提交了一个小版本,你看看你的问题还存在吗。

from jxbwkwebview.

HZRZCW avatar HZRZCW commented on July 28, 2024

不好意思,现在才来看,我重新试下一下最新的代码,发现之前是由于我注释掉了 [self registerSupportProtocolWithHTTP:NO schemes:@[@"post", kWKWebViewReuseScheme] protocolClass:[JXBWKCustomProtocol class]];这句代码导致的,如果注释掉就会出现我说的这种情况,不注释的话,如果没有网络的话就不会再加载之前旧的内容,如下图所示。请问这句代码一定要吗?[self registerSupportProtocolWithHTTP:NO schemes:@[@"post", kWKWebViewReuseScheme] protocolClass:[JXBWKCustomProtocol class]];
fb403e4236303b8c0b9746b76aa26b50

from jxbwkwebview.

xiubojin avatar xiubojin commented on July 28, 2024

这句代码是保证WKWebView复用的关键,对工程内其他业务没有侵入性,对你有什么影响吗?

from jxbwkwebview.

HZRZCW avatar HZRZCW commented on July 28, 2024

对现有功能暂时没影响,只是有点担心审核被拒。

from jxbwkwebview.

xiubojin avatar xiubojin commented on July 28, 2024

对现有功能暂时没影响,只是有点担心审核被拒。

我这边没什么影响。你要是担心被拒的话可以修改NSURLProtocol+WebKitSupport这个分类文件,把里面用到的私有api进行一下混淆。
我一会再更新一下吧,1.0.6。

from jxbwkwebview.

xiubojin avatar xiubojin commented on July 28, 2024

对现有功能暂时没影响,只是有点担心审核被拒。

ok了,代码更新到1.0.6了。

from jxbwkwebview.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.