I have a tool bar with a picker and the navigation bar title is set to large. The initial screen is ok, but once I navigate to the detailed view and return to the main screen, my title is missing. I am unable to find an answer. Kindly help.
Code Block var body: some View { NavigationView { VStack { TabView(selection: $choice, content: { OPListCell() IPListCell() }) .tabViewStyle(PageTabViewStyle()) } .listStyle(PlainListStyle()) .navigationBarTitle(Text("My Patients"), displayMode: .large) .toolbar { ToolbarItem(placement: .principal) { HStack { Picker(selection: self.$choice, label: Text("")) { ForEach(0 ..< self.choices.count) { Text(self.choices[$0]) } } .frame(width: 175) .pickerStyle(SegmentedPickerStyle()) .padding(.leading, 10) } } } } } }