Presenting modal in iOS 13 fullscreen Presenting modal in iOS 13 fullscreen ios ios

Presenting modal in iOS 13 fullscreen


With iOS 13, as stated in the Platforms State of the Union during the WWDC 2019, Apple introduced a new default card presentation. In order to force the fullscreen you have to specify it explicitly with:

let vc = UIViewController()vc.modalPresentationStyle = .fullScreen //or .overFullScreen for transparencyself.present(vc, animated: true, completion: nil)


I add an information that could be useful for someone. If you have any storyboard segue, to go back to the old style, you need to set the kind property to Present Modally and the Presentation property to Full Screen.

enter image description here


I had this issue on the initial view right after the launch screen. The fix for me since I didn't have a segue or logic defined was to switch the presentation from automatic to fullscreen as shown here:

fix_storyboard_presentation_default_behavior