SwiftUI Font指定(システムフォント)
Font Structureのstaticメソッドを使用します。
static func system(size: CGFloat, weight: Font.Weight = .regular, design: Font.Design = .default) -> Font
example
Text("Hello World") .font(Font.system(size: 48))
知識は力なり、知識は宝なり。
Font Structureのstaticメソッドを使用します。
static func system(size: CGFloat, weight: Font.Weight = .regular, design: Font.Design = .default) -> Font
example
Text("Hello World") .font(Font.system(size: 48))