You can use the font
modifier with the .footnote
style to change the font size of the NavigationView
's title to footnote size. Here is an example:
main.swift231 chars12 lines
In this example, the font
modifier is used to change the font size of the NavigationView
's title to footnote size.
Note that the font
modifier can be used with any of the font styles available in SwiftUI, including .largeTitle
, .title
, .headline
, .subheadline
, .body
, .callout
, .footnote
, and .caption
.
gistlibby LogSnag