How to move between views


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.


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

hello, maybe this will help?

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