> I'm having some trouble getting progress indication to work and I was
> hoping someone else could point me in the right direction.
>
> ...
>
> [uploadProgressIndicator setDoubleValue:0];
> [uploadProgressIndicator setMaxValue:0];
It shouldn't normally be necessary to reset the progress indicator, ASIHTTPRequest should do this for you.
> The problem is that the indicator sits at 0% throughout the entire
> operation and then hits 100% when the operation is complete.
>
> Am I doing something stupidly wrong? What should I be checking?
Did you set showAccurateProgress to YES on the queue?
Best
Ben
> The resetting of the progress indicator just came from the example
> code on the Web site...
Ah, ok. Those examples were written a long time ago, I can't honestly remember if it used to be necessary to reset the indicator manually or not. It's not a big deal either way, if you do it, it shouldn't affect behaviour, but I've changed the sample code because it it's certainly confusing. Thanks for letting me know!
> Stripping that out and setting
> showAccurateProgress to YES seems to have fixed it - thanks.
Great stuff.
Best
Ben