How to move between views

Hello.

I try so many ways to move between views but not find right code. NavigationView and NavigationLink is one way but its not working two time. I read that lag because working only once.

Basically how I can move between views.

I try this but not working.

—Code—

var body: some View {
VStack{
Button(action: {
SecondView()
}) {
Image(systemName: ”mappin.and.ellipse”)
}
}
}

hello, maybe this will help? https://stackoverflow.com/a/57308264

also from what i understand the “navigation” of pages in newer ios versions is via swipe (it works like a button)