rechsteiner / Parchment

A paging view with a highly customizable menu ✨
MIT License
3.39k stars 419 forks source link

how can I set font and selected font in swiftui? #718

Closed ruofeilyu closed 5 months ago

ruofeilyu commented 5 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