How can I provide two different fonts to a text based on the current Locale in SwiftUI?
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...
blog.qwicktake.com1 min read