When I download the example from Apple's documentation and add print("challenge: \(challenge.protectionSpace.authenticationMethod)") inside the func download(_ download: BADownload, didReceive challenge: URLAuthenticationChallenge) async method in SessionManager.swift, the output always shows NSURLAuthenticationMethodServerTrust. I never see NSURLAuthenticationMethodDefault.
Topic:
App & System Services
SubTopic:
Processes & Concurrency
Tags: