iOS 7 NSURLSession Download multiple files in Background
问题 I want to download a List of files using NSUrlSession. I have a variable for counting the successful downloads @property (nonatomic) int downloadsSuccessfulCounter; . While the files are being downloaded I disable the Download Button . When the counter is equal to the download list size, I enable the button again and set the counter to 0. I do this in the method: -(void)URLSession:(NSURLSession *)session downloadTask:(NSURLSessionDownloadTask *)downloadTask didFinishDownloadingToURL:(NSURL *