Tobias Banaszak created CB-9095:
-----------------------------------

             Summary: Ability to intercept Navigation
                 Key: CB-9095
                 URL: https://issues.apache.org/jira/browse/CB-9095
             Project: Apache Cordova
          Issue Type: New Feature
          Components: Plugin InAppBrowser
    Affects Versions: 3.5.0
         Environment: All Cordova versions
            Reporter: Tobias Banaszak


On iOS, there is a delegate method that gets called if the user tapped on a 
link:
- (BOOL) webView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest 
*)request navigationType:(UIWebViewNavigationType)navigationType

Implementing this method, you can decide whether the WebView should follow the 
URL/Request or not by returning YES or NO. This way, you can handle special 
schemes or some special URLs.

I've been looking for this function in InAppBrowser but couldn't find anything 
that gives same functionality. Is it by design, or would you consider 
implementing this feature?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to