let vc = ChildViewController() vc.modalPresentationStyle = .fullScreen present(vc, animated: true) override func prepare(for segue: UIStoryboardSegue, sender _: Any?) { if segue.identifier == "toChildViewController", let vc = segue.destination as? ChildViewController { vc.modalPresentationStyle = .fullScreen } } Storyboard と Segue Storyboard で Segue を選択し、Presentation を選択することで遷移先ビューを指定したスタイルで表示できます
![iOSにおけるモーダル表示まとめ](https://cdn-ak-scissors.b.st-hatena.com/image/square/39e482c008d605a5b5f9180e98756d084baf2b67/height=288;version=1;width=512/https%3A%2F%2Fblog.asial.co.jp%2Fogp-logo.jpg)