Progress bar while downloading files iOS

前端 未结 2 403
南旧
南旧 2020-12-19 10:06

I am using the following to download the files from the internet:

NSData *myXMLData1 = [[NSData alloc] initWithContentsOfURL:[NSURL URLWithString:@\"Link]];

2条回答
  •  独厮守ぢ
    2020-12-19 10:42

    I would recommend looking into the ASIHTTP library, which contains a lot of usefull classes on mobile handling and download handling.

    Here is a link where they describe what ASIHTTP can offer in terms of download progress tracking : http://allseeing-i.com/ASIHTTPRequest/How-to-use#progress

提交回复
热议问题