For people who still find this answer: Note that ASI is very outdated, you should use NSURLSession or ASIHTTPRequest instead.
One way to achieve what you want is to set downloadProgressDelegate as your own class and implement setProgress: In this implementation, update the progress variable, and then call [progressView setProgress:];
Or, in the code, configure the delegate to execute the request load request:
[request setDownloadProgressDelegate:self]
and then add the method to your class:
- (void)setProgress:(float)progress { currentProgress = progress; [progressView setProgress:progress]; }
source share