as you can see from the scroll indicator its starting from the end
import SwiftUI
struct ContentView: View {
var body: some View {
ScrollView(.horizontal) {
HStack {
ForEach(0..<20) { i in
Text("\(i)")
.padding()
}
}
}
.environment(\.layoutDirection, .rightToLeft)
}
}
struct ContentView_Previews: PreviewProvider {
static var previews: some View {
ContentView()
}
}