Best Of Both Worlds: Mixing HTML5 And Native Code
mobile.smashingmagazine.com
OCTOBER 17, 2013
In this case, we are using a custom protocol scheme of js-call: On the Objective-C side of things, we’ll trap this attempt to navigate in our UIWebViewDelegate : (BOOL)webView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)request navigationType (UIWebViewNavigationType)navigationType. Related Articles.
Let's personalize your content