1
Sricecake 2019-11-19 18:18:14 +08:00
能
|
3
Sricecake 2019-11-20 16:45:17 +08:00
在 NSURLSession 中 可以在这个回调中判断
- (void)URLSession:(NSURLSession *)session didReceiveChallenge:(NSURLAuthenticationChallenge *)challenge completionHandler:(void (^)(NSURLSessionAuthChallengeDisposition disposition, NSURLCredential * _Nullable credential))completionHandler; |