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