I made three views navigations like that code :
struct view1 : View{
var body : some View
{
NavigationView{
NavigationLink(destination : view2())
}
}.navigationBarTitle("").navigationBarhidden(true)
}
struct view2 : View{
var body : some View
{
VStack{
NavigationLink(destination : view3())
}
}.navigationBarTitle("").navigationBarhidden(true)
}
struct view3 : View{
var body : some View
{
Text("Hey")
}.navigationBarTitle("").navigationBarhidden(true)
}
The bar is hidden on View1 and View2, but there still remain navigation bar space on view3.
How can I remove navigation bar absolutely on multiple stack of navigation views?