How to remove the associated UIProgressview with the right request ?
I use asihttprequest to download multiple files and I'm wondering how I can remove the associated UIProgressview with the right request when the download is done.
NSMutableArray *contentArray contains the ASIHTTPRequest and NSMutableArray *progArray contains my custom UIProgressview.
The problem is that this code remove the last progressview even if the there are 3 downloads in contentArray and the second one finish first. Can you help me with this ?
What can you suggest me for calculate the speed of each download (asihttpresquest) accurately because [ASIHTTPRequest averageBandwidthUsedPerSecond] gives me an average ... ?
Quote:
Originally Posted by smithdale87
use the ASIHTTPRequest's userInfo property to save your progressview with the request
Then, when the request is finished, you can look at the userinfo to get that progress view back
Do you just want the speed of the download to be calculated when the download is complete? Or do you need the speed to be constantly updated while the download is in progress?
I need the speed to be constantly updated while the download is in progress...
How could I achieve that ?
Quote:
Originally Posted by smithdale87
Do you just want the speed of the download to be calculated when the download is complete? Or do you need the speed to be constantly updated while the download is in progress?