1

On iOS 14, when presenting a modal navigation controller, non full screen, with UIPresentationController and modalPresentationStyle custom, the navigation bar take account into the safe area top inset (even if prefersStatusBarHidden is true). So, there is a gap equal to the status bar height at the top of the presented view.

Any ideas?

Patrick Bodet
  • 641
  • 2
  • 8
  • 17

1 Answers1

0

Fixed using the private API method _viewSafeAreaInsetsFromScene.

Patrick Bodet
  • 641
  • 2
  • 8
  • 17