cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shazron <...@git.apache.org>
Subject [GitHub] cordova-plugin-wkwebview-engine pull request #42: CB-13205: Dynamic swipe ba...
Date Tue, 22 Aug 2017 22:14:59 GMT
Github user shazron commented on a diff in the pull request:

    https://github.com/apache/cordova-plugin-wkwebview-engine/pull/42#discussion_r134615068
  
    --- Diff: src/ios/CDVWKWebViewEngine.m ---
    @@ -457,6 +457,19 @@ - (void) webView: (WKWebView *) webView decidePolicyForNavigationAction:
(WKNavi
         return decisionHandler(NO);
     }
     
    +#pragma mark - Plugin interface
    +
    +- (void)allowsBackForwardNavigationGestures:(CDVInvokedUrlCommand*)command;
    +{
    +    id value = [command.arguments objectAtIndex:0];
    --- End diff --
    
    I would use either of these commands: https://github.com/apache/cordova-ios/blob/077b1dc3c1d72ade9552773ed5a3a4c817800d37/CordovaLib/Classes/Public/CDVInvokedUrlCommand.h#L46-L50


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
For additional commands, e-mail: dev-help@cordova.apache.org


Mime
View raw message