swiftfontsswiftui

How to use SF Rounded font in SwiftUI?


I am trying to use the SF rounded font in my SwiftUI project, how would you set it?

I already tried messing around with the .font() but it didn't work (I wasn't able to set it to this rounded font)


Solution

  • Text("Your Text").font(.system(.body, design: .rounded))