I know you can detect presses on a VStack with onTapGesture? But how do I change to a different view with it?
How do I change screens if you click on a VStack?
You should add an .onTap modifier where you call the the new view to display.
I know you can detect presses on a VStack with onTapGesture? But how do I change to a different view with it?
You should add an .onTap modifier where you call the the new view to display.