mrackwitz / MRProgress

Collection of iOS drop-in components to visualize progress
MIT License
2.55k stars 306 forks source link

Indeterminate progress not animating #117

Open zdnk opened 8 years ago

zdnk commented 8 years ago

Hi, I have and issue when I show progress view overlay with IndeterminateSmall type, it is not spinning/animating.

heres the code

MRProgressOverlayView.showOverlayAddedTo(self.view.superview, title: "direction.planning".localized, mode: MRProgressOverlayViewMode.IndeterminateSmall, animated: true)
taingmeng commented 8 years ago

Did you call this in viewDidLoad or viewDidAppear? In my case, animation is not working in viewDidLoad, but it is working in viewDidAppear.

Aghassi commented 8 years ago

I'd like to second this issue. I'm calling it during an update method (so not viewDidLoad, but after a segue) and I'm not getting any animations.

horovodovodo4ka commented 7 years ago

I have same issue: when switching controllers (pushing one for example) then animation stops.

Solution to this is: spinAnimation.removedOnCompletion = NO; in - (void)addAnimation method.

I really don't want make pull request for this simple line. Would be great if author made this simple fix :-)