uifont to font swiftui code example
Example 1: change font swiftui
.font(.custom("FONT_NAME", size: 20))
Example 2: set font uilabel swift
UIFont(name: label.font.fontName, size: 20)
Example 3: how to set the font of text in swiftui
Text("Simple Swift Guide").font(.system(size: 45, weight: .bold, design: .default))