Upload Code
loading-left
loading loading loading
loading-right

Loading

Profile
No self-introduction
codes (1)
a mechanism of transparently invoking Objective-C
no vote
KPWebViewInterceptor - a mechanism of transparently invoking Objective-C ViewControllers from Javascript running within a UIWebView. A mechanism of transparently invoking Objective-C ViewControllers from Javascript running within a UIWebView. KPWebViewInterceptor is a class that sits between your UIWebView and your ViewController. As the WebView processes a request KPWebViewInterceptor intercepts it, interrogates it, and if it finds that the request is an attempt to invoke your ViewController, it will automatically produce a suitable NSInvocation, build a selector and send that message to your ViewController. If the request isn't an invocation attempt it'll delegate the responsibility to your ViewController.
shahdhiren
2016-08-23
0
1
No more~