In the Fitness app (iOS 14), the Summary tab has a date that act as a "subtitle" which goes above the title. Is there a way to implement this with SwiftUI?
I know how to change the title by using
but I'm not sure if there's a way to add a subtitle.
One way I tried is to create a custom view with the new toolbar modifier, which does give me a title and a subtitle, but it does not give me the same result as in the Fitness app.
Thanks!
I know how to change the title by using
Code Block .navigationTitle("title")
but I'm not sure if there's a way to add a subtitle.
One way I tried is to create a custom view with the new toolbar modifier, which does give me a title and a subtitle, but it does not give me the same result as in the Fitness app.
Thanks!