I got some question is using ASIHTTPRequest to tracking Upload/Download progress
This is the sample from ASIHTTPRequest website
ASIHTTPRequest *request = [ASIHTTPRequest requestWithURL:url];
[request setDownloadProgressDelegate:myProgressIndicator];
[request startSynchronous];
NSLog(@"Max: %f, Value: %f", [myProgressIndicator maxValue],[myProgressIndicator doubleValue]
It says :myProgressIndicator is an NSProgressIndicator.
But it looks like Apple deprecated NSProgressIndicator
Check Here
So ... how can I know the Upload/Download progress ???
Also another question is ...if the Upload/Download was terminated before the task finish
How can I let the Upload/Download task continues start from the stop point(break point?) ?
Many thanks ~
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…