Skip to content

iOS UIWebView,WKWebView 与html5 JavaScript的深度交互,iOS和安卓同时与html5 JavaScript的深度交互

Notifications You must be signed in to change notification settings

shaojiankui/iOS-WebView-JavaScript

Repository files navigation

iOS UIWebView,WKWebView 与 JavaScript的深度交互

  • iOS-WebView-JavaScript 为iOS与JavaScript与JavaScript的深度交互
  • Android-WebView-JavaScript 与android与JavaScript与JavaScript的深度交互

1.WKWebView 不支持JavaScriptCore的方式但提供message handler的方式为JavaScript 与Objective-C 通信

  • WKWebView 与 JavaScript交互
  • JavaScript 与 WKWebView 交互

2.UIWebViews使用代理拦截或JavaScriptCore.framework进行交互

  • UIWebView 与 JavaScript交互

  • JavaScript 与 UIWebView 交互

  • UIWebView 与 JavaScriptCore.framework交互

  • JavaScriptCore.framework 与 UIWebView 交互

image

About

iOS UIWebView,WKWebView 与html5 JavaScript的深度交互,iOS和安卓同时与html5 JavaScript的深度交互

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published