(The weird thing about this issue is when you turn the device back to portrait (from landscape), it doesn't jump.)
Code Block struct ContentView: View { @State var currentPage: Int = 1 var body: some View { ZStack { TabView(selection: $currentPage) { Text("1").tag(0) Text("2").tag(1) Text("3").tag(2) } .indexViewStyle(PageIndexViewStyle(backgroundDisplayMode: .never)) .tabViewStyle(PageTabViewStyle()) } } }
I'm running the latest iOS and Xcode version.