You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Sergey Grebnov (JIRA)" <ji...@apache.org> on 2015/11/10 15:54:11 UTC

[jira] [Updated] (CB-9095) Ability to intercept Navigation

     [ https://issues.apache.org/jira/browse/CB-9095?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sergey Grebnov updated CB-9095:
-------------------------------
    Labels: Triaged  (was: )

> 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
>              Labels: Triaged
>
> 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-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org