SwiftUi NavigationLink three view and hidden bar but not work on third

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?

Your code does not compile.
Try this:

struct View1: View {
    var body: some View {
        NavigationView {
            NavigationLink("view2", destination : View2())
        }
        .navigationBarTitle("")
        .navigationBarHidden(true)
    }
}

struct View2: View {
    var body: some View {
        VStack{
            NavigationLink("view3", destination : View3())
        }
        .navigationBarTitle("")
        .navigationBarHidden(true)
    }
}

struct View3: View {
    var body: some View {
        Text("Hey")
            .navigationBarTitle("")
            .navigationBarHidden(true)
    }
}

Can you be more clear about what you are expecting to happen, and what you are actually seeing?

i found out the reason... because of uihostringcontroller....

SwiftUi NavigationLink three view and hidden bar but not work on third
 
 
Q