Question : navigationview hide header swiftui
Answered by : quaint-quail-rblyi6q3wthz
.navigationBarHidden(true)
.navigationBarTitle(Text("Home"))
.edgesIgnoringSafeArea([.top, .bottom])
Source : https://stackoverflow.com/questions/57309981/how-to-hide-navigationview-bar-in-swiftui | Last Update : Tue, 13 Oct 20
Question : swift hide navigation bar
Answered by : repulsive-raccoon-9iw4f44m0t64
override func viewWillAppear(_ animated: Bool) { super.viewWillAppear(animated) navigationController?.setNavigationBarHidden(true, animated: animated)
}
override func viewWillDisappear(_ animated: Bool) { super.viewWillDisappear(animated) navigationController?.setNavigationBarHidden(false, animated: animated)
}
Source : https://stackoverflow.com/questions/29209453/how-to-hide-a-navigation-bar-from-first-viewcontroller-in-swift | Last Update : Mon, 22 Jun 20