I have got this simple code in my Swift code
let PostPage = PostView() navigationController?.pushViewController(PostPage, animated: true) class PostView: UIViewController And this code does what it's supposed to do,which is to show PostView,but when this view is shown i expect that UINavbar's title will be changed and the back button will be shown.But none of that happens
in AppDelegate
window?.rootViewController = UINavigationController(rootViewController: TabNavigator()) 

let PostPage = PostView() navigationController?.pushViewController(PostPage, animated: true)