rechsteiner / Parchment

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

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

Closed ruofeilyu closed 2 months ago

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