这是我的TabView,我想把dot indicator
的位置改到右下角,怎么改?
TabView {
ForEach (modelData.features, id: \.id) { landmark in
landmark.image
.resizable()
.scaledToFill()
.frame(height: 200)
.clipped()
}
}
.frame(height: 200)
.tabViewStyle(PageTabViewStyle(indexDisplayMode: .always))
.indexViewStyle(PageIndexViewStyle(backgroundDisplayMode: .always))
.indexViewStyle(PageIndexViewStyle()
字符串
的数据
2条答案
按热度按时间ehxuflar1#
使TabView的框架大于200
字符串
ee7vknir2#
我对此进行了一点斗争,但发现这比任何其他解决方案都好。使用这种方法,您可以通过擦洗保持原生行为&逐渐消失的点。沿着可以灵活地将其放置在任何地方。
个字符