Hidden the navigation bar in ViewWillAppear
override func viewWillAppear(_ animated: Bool) {
self.navigationController?.setNavigationBarHidden(true, animated: true)
super.viewWillAppear(animated)
}
but when clicking on top of the viewcontroller navigationbar shows up. Did anyone faced this issue ?