Shazron Abdullah created CB-8665:
------------------------------------

             Summary: Add WKNavigationDelegate to CDVWKWebViewEngine plugin
                 Key: CB-8665
                 URL: https://issues.apache.org/jira/browse/CB-8665
             Project: Apache Cordova
          Issue Type: Task
          Components: iOS
    Affects Versions: 4.0.0
            Reporter: Shazron Abdullah
             Fix For: 4.0.0


CDVWKWebViewEngine needs to have a navigationDelegate that implements:
{code}
- (void)webView:(WKWebView *)webView didFinishNavigation:(WKNavigation 
*)navigation
{code}
... which then will post CDVPageDidLoadNotification:
{code}
 [[NSNotificationCenter defaultCenter] postNotification:[NSNotification 
notificationWithName:CDVPageDidLoadNotification object:self.webView]];
{code}





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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to