Reputation: 1951
I'm trying to get authentication to work with my WKWebView with no success. I've tried the the usual methods i.e setting the credentials in the shared storage (How to do authentication in UIWebView properly?), using a NSURLConnection to catch the authentication challenge (How to display the Authentication Challenge in UIWebView?).
Anyone got any suggestions?
The authentication works in Safari so is should work. Apple could of course use something hidden...
Upvotes: 1
Views: 4208
Reputation: 1951
The solved it in beta 3 using the function didReceiveAuthenticationChallenge in WKNavigationDelegate. I've tried it and it works perfectly
Upvotes: 3