1
votes

I'm using storyboard present modally segue to display a second view embedded in a new navigation controller. For animation I use partial curl. The transition works as expected when pushing to the second view controller. But using self.dismiss on the second view controller will push back, but the first view got stuck in another transition animation...So for a second the view is displayed as expected but then starts to animate again and gets stuck in the middle of animation. I'm able to use the displayed view, so it seems to be a displaying issue.

Partial curl got stuck

1

1 Answers

3
votes

I am surprised this has not been addressed in 8 months. It still seems to be happening in 14.3. The only workaround I can find is just to turn animation off on the dismiss -

self.presentingViewController!.dismiss(animated: false, completion: nil)

You still get the partial curl animation on the present but not on the return.