阅读背景:

通过NSURLSessionDownloadTask设置并发下载的数量。

来源:互联网 

I'm using the new NSURLSession API and allowing the user to download files. I'd like to try and tell my NSURLSession how many simultaneous downloads to run, but I don't see a way to do it. I'd like to try to avoid managing the download tasks myself, would be much better if I could tell the system how many to allow instead - that would be better for queuing background downloads as well when my app isn't running. Is there a way to do this?I'm using the new NSURLSession API and allowing




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: