I see. However, doing this:
Leave ATS enabled.
Intercept the server trust authentication challenge (NSURLAuthenticationMethodServerTrust).
Apply your extra checks.
Complete the challenge with .performDefaultHandling.
causes the trust evaluation to be performed after the extra checks, correct? What if I wanted to have the system check be done first - then I would to resort to calling SecTrustEvaluate myself?
Topic:
App & System Services
SubTopic:
General
Tags: