> On Sep 28, 2015, at 9:54 PM, Gerriet M. Denkmann <gerr...@mdenkmann.de> wrote:
> 
> NSURLSessionDelegate and NSURLSessionTaskDelegate methods get called (as 
> expected) but none of the NSURLSessionDownloadDelegate methods ever get 
> called.

Your NSURLSessionDataDelegate should be getting called, with data coming from 
this call:
        - (void)URLSession:(NSURLSession *)session 
dataTask:(NSURLSessionDataTask *)dataTask
                                             didReceiveData:(NSData *)data;

If you want to literally download to a file, you need to call one of the 
-downloadTaskWith… methods on the NSURLSession.

—Jens
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to