Swipe back gesture to dismiss is not getting flipped (stays from left to right). but the view and slide out animation are getting flipped
import SwiftUI
struct ContentView: View {
var body: some View {
NavigationView {
NavigationLink("hello, world!", destination: Text("hello, world!"))
}
.environment(\.layoutDirection, .rightToLeft)
}
}
struct ContentView_Previews: PreviewProvider {
static var previews: some View {
ContentView()
}
}