0

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.

Janmenjaya
  • 4,149
  • 1
  • 23
  • 43
J Wagner
  • 19
  • 4

0 Answers0