MKMapView freezes on interactive modal dismissal

76 Views Asked by At

Interactive dismissal of a modally presented view controller containing a MKMapView freezes the animation.

I do not share any code since the steps to reproduce the issue is very simple. You even do not need any code. You can reproduce via storyboard.

  1. Create a view controller, which contains only a navigation bar and a MKWebView.
  2. From another VC, modally present it.
  3. Then try to dismiss it interactively. You will see the dismiss animation freezes.

Here is screen recording as GIF

enter image description here:

I encounter the problem on iPhone 11. So the reason cannot be insufficient CPU / GPU.

Anyone encountered this before? Can you reproduce the issue as well? Any suggestions without making the presentation full screen? Thank you.

0

There are 0 best solutions below