Get it right (to left) WWDC2020 proplem

i use " .environment(.layoutDirection, .rightToLeft)" in my app everything switch but Gesture in Navgation Back it's still work on Left side but the animate is on the right side

what's the problem too the background for navgation when you scroll not apper when i use this line

Answered by asem199910 in 726347022

sorry i solve it just you need to add this line to Your Navigation " .navigationViewStyle(.stack) "

Accepted Answer

sorry i solve it just you need to add this line to Your Navigation " .navigationViewStyle(.stack) "

Is the phone's Settings App Language actually set for the right to left languages? If so, then the app should automatically pick this up. Also, just make sure the key path parameter of the environment modifier has a backslash for layoutdirection .environment(\.layoutDirection, .rightToLeft)

Get it right (to left) WWDC2020 proplem
 
 
Q