Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-8665

Add WKNavigationDelegate to CDVWKWebViewEngine plugin

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0.0
    • Fix Version/s: 4.0.0
    • Component/s: cordova-ios
    • Labels:
      None

      Description

      CDVWKWebViewEngine needs to have a navigationDelegate that implements:

      - (void)webView:(WKWebView *)webView didFinishNavigation:(WKNavigation *)navigation
      

      ... which then will post CDVPageDidLoadNotification:

       [[NSNotificationCenter defaultCenter] postNotification:[NSNotification notificationWithName:CDVPageDidLoadNotification object:self.webView]];
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                shazron Shazron Abdullah
                Reporter:
                shazron Shazron Abdullah
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: