recruit-mp / RMPZoomTransitionAnimator

A custom zooming transition animation for UIViewController
MIT License
1.71k stars 178 forks source link

Transition breaks navigation controller #19

Open alusev opened 7 years ago

alusev commented 7 years ago

I have the following structure: Navigation Controller -(1)-> TableViewController -(2)-> TableViewController -(3)-> CollectionViewController -(4) -> CollectionViewController. RMPZoomTransitionAnimator is applied on segue (4). If I press back button in the middle of the animation, nothing happens and it goes with the animation back as expected. And the following message appears:

nested pop animation can result in corrupted navigation bar
Finishing up a navigation transition in an unexpected state. Navigation Bar subview tree might get corrupted.

And after that, I have to press several time back button in order to go to TableViewController (3)

chiragiOSDev commented 7 years ago

Also Transition breaks Tabbar controller & navigation controller both

calvinsug commented 7 years ago

@chiragiOSDev i have solved this issue, you can pull from this: https://github.com/calvinsug/RMPZoomTransitionAnimator

I have also create a pull request to the author for fixing this issue