I want to present a view within a NavigationView by sliding to the left instead of right (right is the default), is there a modifier to accomplish this in SwiftUI?
Below is a minimal example, where would the modifier go to navigate left instead of right??
Thank you
struct ContentView: View {
var body: some View {
NavigationView {
NavigationLink(Text("activate"), destination: NewView())
}
}
}
struct NewView: View {
var body: some View {
Text("New View")
}
}