mrackwitz / MRProgress

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

Animations do not work on presenting view controller during modal dismissal #85

Open KieranLafferty opened 9 years ago

KieranLafferty commented 9 years ago

I am using the MRProgressOverlayView on the presenting VC while dismissing a VC. If I wait until the dismiss animation is complete, the MRProgressOverlayView animates correctly. If I kick off both the MRProgressOverlayView and perform the modal dismissal at the same time the MRProgressOverlayView does not animate

mrackwitz commented 9 years ago

That's weird. Is it an option to add the MRProgressOverlayView to another view in the hierarchy, e.g. the window. This would naturally imply to restricted user interaction and should be used with care. Further questions:

  1. Which version of MRProgress do you use?
  2. With which mode does this behaviour appear?
  3. Have you tried other modes and do they show the same behaviour?
  4. Have you tried the same with an own animated layer to make sure, that this is not induced by the dismissal?