Hello,
The NavigationView just changed and I'm a bit lost. Could you tell me the correct way to show the title with a background (material) if the content is a map?
Thanks!!!
import SwiftUI
struct ExampleStationListView_Previews: PreviewProvider {
static var previews: some View {
NavigationView {
Map(mapRect: .constant(MKMapRect.world))
.ignoresSafeArea()
.navigationBarTitle("Select Station",
displayMode: .inline)
}
}
}