I have view controller which I am pushing from a view controller where navigation bar is hidden. But I want to show the navigation bar in destination view controller.
I tried with this statement it was not showing navigationBar.
self.navigationController?.navigationBar.isHidden = false
I tried this statement it is working
self.navigationController?.setNavigationBarHidden(false, animated: true)
I want to know what is difference?

