Enable Application cache in WKWebView

后端 未结 2 449
太阳男子
太阳男子 2020-11-30 07:52

I am aware that offline application cache is not supported in iOS WKWebView.

This is enabled in Safari, so I searched webkit project for the responsible code &

2条回答
  •  借酒劲吻你
    2020-11-30 08:53

    According to this tweet from at Apple, as of iOS 10, App Cache is now supported in WKWebView:

    https://twitter.com/andersca/status/743259582252879872

    ...as does this WebKit bug report:

    https://bugs.webkit.org/show_bug.cgi?id=152490

    I've tested this in WKWebView using this site:

    http://webdbg.com/test/appcache/

    and can confirm it works as expected both in the iOS Simulator and on devices running iOS 10.

提交回复
热议问题