You can use the .font() modifier to set the font of a text view in SwiftUI. If you want to use different fonts depending on the current locale, you can use the .environment(\.locale) modifier to get the current locale, and then use an if statement or...

Markdown supported · ⌘↵ to post
No responses yet.