I am using NSURLSession + NSURLDownloadTask with completionHandler:
[session downloadTaskWithURL:downloadURL completionHandler:^(NSURL *location, NSURLRespon
From the documentation:
NSURLSession returns data in one of two ways, depending on the methods you call:
- To a completion handler block that returns data to your app when a transfer finishes successfully or with an error.
- By calling methods on your custom delegate as the data is received.
One of two ways. Either use the completion handler (if all you want is to be notified at the end) or use the delegate methods (if you want full information as you go). Not a problem. It's not like the delegate methods are hard to use or anything; it's probably just about always better to use them.