Skip to content

Commit

Permalink
Merge pull request #2 from bryant1410/master
Browse files Browse the repository at this point in the history
Fix broken headings in Markdown files
  • Loading branch information
HotWordland authored Apr 18, 2017
2 parents 69502f0 + d467da6 commit 97f4524
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# 2016 - 01 -24 替换html里一些失效的图片
# WebNewsJSBridgeOC
一个完整的OC与JS交互 实现WebView里面的图片不用每次从网页加载 只需要第一次加载后就缓存 图片点击放大浏览
#演示
# 演示

#点击浏览放大
# 点击浏览放大
![](https://github.com/HotWordland/WebNewsJSBridgeOC/blob/master/WebNewsJSBridgeOC.gif)

#思路
# 思路
不加载html里的图片:替换HTML文本中默认的src 然后用SDWebImage将其url捕获进行缓存 等到缓存完后再进行替换Html。
点击放大:利用js交互 将html里的图片位置进行计算然后传递给OC 然后得到数据后进行页面上UI的逻辑处理

##LonLonStudio - WL -(重庆开发者巫龙 ^_^) http://codercq.com/
## LonLonStudio - WL -(重庆开发者巫龙 ^_^) http://codercq.com/

0 comments on commit 97f4524

Please sign in to comment.