|
@@ -408,21 +408,6 @@ NSOperationQueue *taskQueue;
|
408
|
408
|
[task cancel];
|
409
|
409
|
}
|
410
|
410
|
|
411
|
|
-//- (void) application:(UIApplication *)application handleEventsForBackgroundURLSession:(NSString *)identifier completionHandler:(void (^)())completionHandler {
|
412
|
|
-//
|
413
|
|
-//}
|
414
|
|
-
|
415
|
|
-//- (void) URLSessionDidFinishEventsForBackgroundURLSession:(NSURLSession *)session
|
416
|
|
-//{
|
417
|
|
-// if(self.dataTaskCompletionHandler != nil)
|
418
|
|
-// {
|
419
|
|
-// dataTaskCompletionHandler(self.respData, nil, error);
|
420
|
|
-// }
|
421
|
|
-// else if(self.fileTaskCompletionHandler != nil)
|
422
|
|
-// {
|
423
|
|
-// fileTaskCompletionHandler(nil, nil, self.error);
|
424
|
|
-// }
|
425
|
|
-//}
|
426
|
411
|
|
427
|
412
|
- (void) URLSession:(NSURLSession *)session didReceiveChallenge:(NSURLAuthenticationChallenge *)challenge completionHandler:(void (^)(NSURLSessionAuthChallengeDisposition, NSURLCredential * _Nullable credantial))completionHandler
|
428
|
413
|
{
|