Advaith
Advaith

Reputation: 1117

NSProgressIndicator animation during intermediate state

I am showing a progress bar to show the progress of uploading data. When I finish the upload process, I have some finalizing steps and at this time I am planning to change the state of my progress bar to intermediate state (Just like what mac installer shows at the last moment of installation process). SO what I did was, I changed the state to intermediate. Now the progress bar is shown with inclined blue stripes. But it's not animating. How do I activate animation at this moment?

Upvotes: 1

Views: 1481

Answers (1)

hd1
hd1

Reputation: 34657

[NSProgressIndicatorInstance startAnimation:self] will (re)start the animation and [NSProgressIndicatorInstance stopAnimation:self] will stop it again.

Upvotes: 3

Related Questions