Using iOS14.4.2, Swift5.3.2, Xcode12.4,
I am using SwiftUI's new PageTabView-styled TabView (see example-code below).
Everything works - except that I would like to move the control-indicators (i.e. little dots) to some other location on the screen.
How can you do that ?
And yes, I could do my own controls overlay of some sort - but isn't SwiftUI capable itself and natively ?
struct ContentView: View {
var body: some View {
TabView {
Text("First")
Text("Second")
Text("Third")
Text("Fourth")
}
.tabViewStyle(PageTabViewStyle(indexDisplayMode: .always))
.indexViewStyle(PageIndexViewStyle(backgroundDisplayMode: .always))
}
}