WKWebView Console Save

How to output console.log in Xcode (using wkwebview)?

Project README

Aspect Oriented Programming(AOP) . Don't change javascript any code. All code write in native. Main idea:

1.rewrite the console.log method of javascript. 2.iOS native code injected the method when H5 starts to create the DOM tree.

pod 'SKJavaScriptBridge', '~> 1.0.3'

Newer Demo https://github.com/housenkui/JavascriptBridge

Open Source Agenda is not affiliated with "WKWebView Console" Project. README Source: housenkui/WKWebView-Console
Stars
41
Open Issues
0
Last Commit
4 years ago

Open Source Agenda Badge

Open Source Agenda Rating