Comments (15)
还有就是 你这个库依赖AFSecurityPolicy 会跟依赖AFNetworking 的项目冲突吗? 我更新到0.5.0 报一个找不到AFSecurityPolicy.h的错。
from axwebviewcontroller.
@glary 最新版本:v0.5.0
已发布.
from axwebviewcontroller.
@devedbox thank you
from axwebviewcontroller.
还是没有添加title的KVO呀?
from axwebviewcontroller.
增加title的kvo用意何在?
from axwebviewcontroller.
就是 让tittle 跟随网页来显示,我发现一个bug,就是iOS8以上的时候h5那边用JS刷新了title,但是你这个控制器标题不会变。
from axwebviewcontroller.
@glary 如果网页是SPA的,使用js来改变Title你确定web view的Title能跟随改变?
from axwebviewcontroller.
@glary 我试了,添加Title kvo之后没有收到回调. 微信的web 浏览是他自己的引擎,用的不是苹果原生的库.
from axwebviewcontroller.
#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.
@glary 你试了可以吗?
from axwebviewcontroller.
@devedbox 可以的,你点下面的更多推荐里的商品 可以看到标题会变。
from axwebviewcontroller.
@glary 行,我改改.
from axwebviewcontroller.
from axwebviewcontroller.
@glary 这个帖子含金量高啊!冲突那个是之前测试的,没修改,幸亏你及时发现了冲突的那个问题!
from axwebviewcontroller.
thank you~
from axwebviewcontroller.
Related Issues (20)
- 简单更新一下吧,去掉UIWebview,不然以后不能过审了
- 如何去掉导航栏返回按钮的“返回”两个字?
- 有洁癖 希望把UIWebView去掉 HOT 1
- apple网站顶部显示被遮挡
- 使用initWithRequest方法创建时,错误重试页面点击重试无效
- 继承不走WKNavigationDelegate代理方法 HOT 1
- 在打开的h5页面中下载一个PDF文件后,想重新在本地加载不成功
- 请问还维护么?UIWebView官方不再支持了,会优化么?
- var a = document.getElementsByTagName('a');for(var i=0;i<a.length;i++){a[i].setAttribute('target','');}
- 导入此库之后scrollview初始化方法崩溃
- showsNavigationBackBarButtonItemTitle 有问题
- 最新版为什么加载https会报错?
- 导航按钮返回键太靠左边,关闭按钮太靠右 了,请问作者怎么调整 HOT 2
- BUG WebKitErrorDomain Code=204 "插件处理的载入"
- 点击_blank链接不跳转
- itms-services安装
- Aspects
- 进度条结束的逻辑
- 您好,大佬,请问支持自定义UIActivity吗? HOT 1
- cleanCache时崩溃
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from axwebviewcontroller.