SwiftUI Typography

With SwiftUI specifying font size is not like we used to do in the past – by setting size value. Instead it’s better to use dynamic type sizes. This guarantees correct font size when user changes font size and accessibility settings.


Use .font modifier with values from table above. Example:


Leave a Reply

Your email address will not be published. Required fields are marked *