0

I am currently using**NSURLConnection**class to download large amount of data (200MB - 1 GB). But, my download is getting stopped when the app goes into background.

1- We cant use ASIHTTPRequest as it was discontinued a long time ago.

2- I have also seen Executing a Finite-Length Task in the Background documentation by apple. But it only supports background activity for a limited time.

So , here come my question.....

How can i support uninterrupted background downloads in iOS

4

2 回答 2

0

虽然我没有使用它,但https://github.com/MugunthKumar/MKNetworkKit说它处理后台下载。

于 2012-05-16T12:51:14.013 回答
0

在设备上,最好将数据分成块,它会一直持续到您的服务器在后台发送数据。动态生成固定大小的块,最后合并它们。

于 2012-05-02T11:10:56.207 回答