Swiftui Font Add

[Solved] Swiftui Font Add | Swift - Code Explorer | yomemimo.com
Question : how to set the font of text in swiftui

Answered by : blueeyed-booby-yb48kgqo8fq2

Text("Simple Swift Guide").font(.system(size: 45, weight: .bold, design: .default))

Source : https://www.simpleswiftguide.com/swiftui-font-tutorial/ | Last Update : Wed, 16 Dec 20

Question : swift programmatically set font

Answered by : kristopher-wrobel

label.font = UIFont.systemFont(ofSize: 14, weight: .light)

Source : https://stackoverflow.com/questions/33999976/how-to-set-text-font-as-system-thin-in-swift | Last Update : Sun, 04 Jul 21

Answers related to swiftui font add

Code Explorer Popular Question For Swift