Closed ruofeilyu closed 2 months ago
PageView(xx, selectedIndex: $selectedIndex) { x in Page { state in Text("custom title ").font(CustomFont) } content: { CustomView } }
I figured it out, just use this way
PageView(xx, selectedIndex: $selectedIndex) { x in Page { state in Text("custom title ").font(CustomFont) } content: { CustomView } }