I have been trying to put together an example of a WKWebView
with a site that authenticates with Basic Auth. I want to use swift if possible. The examples that use the challenge with
URLCredential(user: user, password: password, persistence: URLCredential.Persistence.forSession)
This does not add Base64
encryption to the header. Doesn't it need it?
Any help would be appreciative.