I have a UIViewController with a UIToolbar (on bottom) and I want to add a UINavigationController with UINavigationBar inside.
But the UINavigationController is not displayed.>
let childNavController = UINavigationController()
parrentVC.addChild(childNavController)
parrentVC.view.addSubview(childNavController.view)
//Add constraints or frame for childNavController here.
childNavController.didMove(toParent: parrentVC)