Skip to content

Conversation

eJamesLin
Copy link
Contributor

add WKNavigationDelegate webView:didReceiveAuthenticationChallenge:completionHandler: support

@marcuswestin marcuswestin merged commit 7952c49 into marcuswestin:master Jun 14, 2016
@marcuswestin
Copy link
Owner

Thanks!

@maxcampolo
Copy link
Contributor

maxcampolo commented Jun 27, 2016

This breaks if no _webViewDelegate is set with an exception that the completion handler must be called. I think just adding the else below should fix it

 else {
        completionHandler(NSURLSessionAuthChallengePerformDefaultHandling, nil);
    }
}

Made a PR #218 . Thanks!

@blueseaguo
Copy link

@marcuswestin please merge this request. We need this fix, thanks a lot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants