Hi, It seems that there's a bug in the iOS 16, that when we have the phone on Arabic language (right to left) after navigating on the TabView
the index's are wrong.
When we go to the first item, the system is going to the opposite side.
For example it is expected that the index move 0 1 2 3 4 but the index moves 4 3 2 1 0.
We detected that the value for the $selection
it is wrong on the TabView.
Below I attached a sample code to reproduce the error.
TabView(selection: $currentSelection) {
ForEach(array, id: \.offset) { index, item in
ImageView(..).tag(index)
}
}
This doesn't happen in iOS 15.
Are there any workaround or fix for this issue soon?