How to download large files using objective c on iphone

后端 未结 2 1840
情话喂你
情话喂你 2021-01-07 01:55

I ve written an app that downloads files from a sever via http. The users will always be on WLAN when using my app. It downloads files of <10MB without any issues but the

2条回答
  •  半阙折子戏
    2021-01-07 02:23

    Second on the ASIHTTPRequest library, it really is very good. In addition, try downloading a much smaller part of the file(s) for a given request (I'm assuming they are XML or JSON files). Only get more data if the user is requesting it (eg, user is scrolling past a certain point in a tableview). Something to consider anyway.

提交回复
热议问题