If navigationBarTitleDisplayMode?

How to set if in swiftui? I want the title to be automatic, but with .large and .inline certain actions were taken.
Hi,
you could set the display mode like this:
Code Block swift
.navigationBarTitleDisplayMode(active ? .automatic : .inline)

hope this helps.

Take care,
David
If navigationBarTitleDisplayMode?
 
 
Q