Closed supwy closed 10 years ago
In a Navigation controller if you push a controller and then move back the animation stops at that stage too.
That has to do with what apple stops running when your application, or part of the application becomes inactive. For the navigation controller problem, you'll need to restart the animation in viewWillAppear:
by setting the animated property to yes. For the entering the foreground problem, you need to respond to the notification: UIApplicationWillEnterForegroundNotification
and restart the animation there. There really isn't a way to auto restart the animation reliably from within the progress view.
@Marxon13 can you help me? How can i restart the animation. I've tried to put setAnimateStripes:YES and some other commands. Thanks!
@maiconpeixinho, check my answer from issue #53
It seems that setting again the property "indeterminate" of the progress view will reset the animation. Something like:
self.progressView.indeterminate = self.progressView.indeterminate;
Nice workaround @claudiumatei! Thank you..
set progress ring view to indeterminate mode and let app enter background and back to foreground. the indeterminate animation stopped.