HCCG
V2EX  ›  iOS

为什么微信不用 WKWebView 啊?

  •  
  •   HCCG · Dec 13, 2016 · 5392 views
    This topic created in 3461 days ago, the information mentioned may be changed or developed.
    6 replies    2016-12-14 12:13:42 +08:00
    CDuXZMAPgHp1q9ew
        1
    CDuXZMAPgHp1q9ew  
       Dec 13, 2016
    用了就拦截不了淘宝了....
    xiubin
        2
    xiubin  
       Dec 13, 2016
    @wujichao 为啥?
    dorentus
        3
    dorentus  
       Dec 13, 2016 via iPhone
    WKWebView 当然可以拦截淘宝,但是不支持 URLProtocol (至少不用私有 API 的话不行),很多事情做不了很不好用
    walkingway
        4
    walkingway  
       Dec 13, 2016
    因为要兼容 iOS 7
    free9fw
        5
    free9fw  
       Dec 13, 2016
    WKWebView iOS8+
    leon0918
        6
    leon0918  
       Dec 14, 2016
    区分系统,初始化不同的 webview 就好了, uiwebview 太耗内存了。微信这么做估计是有别的考虑
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   940 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 41ms · UTC 22:13 · PVG 06:13 · LAX 15:13 · JFK 18:13
    ♥ Do have faith in what you're doing.