Skip to content

housenkui/WKWebView-Console

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published