Present VC programmatically

How to present UIViewController() inside of UINavigationController ? My controller presenting not fullscreen. I want my app to look like this enter image description here, but it is end up like this enter image description here I making app without Storyboard(Programmatically) let customVC = UIViewController() customVC.view.backgroundColor = .green customVC.modalPresentationStyle = .fullScreen let navVC = UINavigationController(rootViewController:… Read More Present VC programmatically