Post

Replies

Boosts

Views

Activity

Reply to Crash By CFNetwork In iOS13
App May Execute this code many times, May this is the problem about this crash? NSURL *url = [NSURL URLWithString:hostString];   NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:url];   [request setAllHTTPHeaderFields:header];       NSURLSessionConfiguration *sessionConfiguration = [NSURLSessionConfiguration defaultSessionConfiguration];   sessionConfiguration.timeoutIntervalForRequest = MAXFLOAT;   self.session = [NSURLSession sessionWithConfiguration:sessionConfiguration delegate:self delegateQueue:_operationQueue];   NSURLSessionWebSocketTask *webSocketTask = [self.session webSocketTaskWithRequest:request];
Jul ’22