Re: How to specify Volume to NSURLSession ?
Re: How to specify Volume to NSURLSession ?
- Subject: Re: How to specify Volume to NSURLSession ?
- From: Mike Abdullah <email@hidden>
- Date: Tue, 29 Sep 2015 10:44:38 +0100
> On 29 Sep 2015, at 10:25, email@hidden wrote:
>
> That is to say use the data task delegate methods to receive data and write it where you want it?
Yep, fire up a data task (with delegate, not completion handler). Use -URLSession:dataTask:didReceiveResponse:completionHandler: to open up a stream or similar somewhere suitable on disk, and write to it in -URLSession:dataTask:didReceiveData:
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden