Giter Club home page Giter Club logo

Comments (15)

glary avatar glary commented on May 22, 2024 2

还有就是 你这个库依赖AFSecurityPolicy 会跟依赖AFNetworking 的项目冲突吗? 我更新到0.5.0 报一个找不到AFSecurityPolicy.h的错。

from axwebviewcontroller.

devedbox avatar devedbox commented on May 22, 2024

@glary 最新版本:v0.5.0已发布.

from axwebviewcontroller.

glary avatar glary commented on May 22, 2024

@devedbox thank you

from axwebviewcontroller.

glary avatar glary commented on May 22, 2024

还是没有添加title的KVO呀?

from axwebviewcontroller.

devedbox avatar devedbox commented on May 22, 2024

增加title的kvo用意何在?

from axwebviewcontroller.

glary avatar glary commented on May 22, 2024

就是 让tittle 跟随网页来显示,我发现一个bug,就是iOS8以上的时候h5那边用JS刷新了title,但是你这个控制器标题不会变。

from axwebviewcontroller.

devedbox avatar devedbox commented on May 22, 2024

@glary 如果网页是SPA的,使用js来改变Title你确定web view的Title能跟随改变?

from axwebviewcontroller.

devedbox avatar devedbox commented on May 22, 2024

@glary 我试了,添加Title kvo之后没有收到回调. 微信的web 浏览是他自己的引擎,用的不是苹果原生的库.

from axwebviewcontroller.

glary avatar glary commented on May 22, 2024

#if !AX_WEB_VIEW_CONTROLLER_USING_WEBKIT
[self progressProxy];
#else
[_webView addObserver:self forKeyPath:@"estimatedProgress" options:NSKeyValueObservingOptionNew context:NULL];
[_webView addObserver:self forKeyPath:@"title" options:NSKeyValueObservingOptionNew context:NULL];

/*
 [_webView.scrollView addObserver:self forKeyPath:@"backgroundColor" options:NSKeyValueObservingOptionNew context:NULL];
 */

#endif

我在这个位置加的,在回调中可以接收到标题的改变

from axwebviewcontroller.

devedbox avatar devedbox commented on May 22, 2024

@glary 你试了可以吗?

from axwebviewcontroller.

glary avatar glary commented on May 22, 2024

@devedbox 可以的,你点下面的更多推荐里的商品 可以看到标题会变。

from axwebviewcontroller.

devedbox avatar devedbox commented on May 22, 2024

@glary 行,我改改.

from axwebviewcontroller.

devedbox avatar devedbox commented on May 22, 2024

@glary 新版为:0.6.0.

from axwebviewcontroller.

devedbox avatar devedbox commented on May 22, 2024

@glary 这个帖子含金量高啊!冲突那个是之前测试的,没修改,幸亏你及时发现了冲突的那个问题!

from axwebviewcontroller.

glary avatar glary commented on May 22, 2024

thank you~

from axwebviewcontroller.

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.