Skip to content

V5zhou/JSInteraction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

JSInteraction

这是一个OC与JS交互的封装,包含有两套交互方式:

  1. UIWebView+UIWebViewDelegate
  2. WKWebView+WKScriptMessageHandler。

旧的方式交互方式未添加,觉得不如这两种用起来方便。

- (BOOL)webView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)request navigationType:(UIWebViewNavigationType)navigationType

About

这是一个OC与JS交互的封装,包含有两套交互方式:UIWebView+UIWebViewDelegate、WKWebView+WKScriptMessageHandler。

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors