I have the below series of controllers and views. However, when I use the navigation link on the MoreView it changes the tabBarItem.title value. For instance it will say more, but when the privacy policy button is clicked and the user is navigated to policy view, the title in the tab bar changes to whatever is in .navigationBarTitle() or if non is provided, an empty string! How do I avoid this? I want the tab bar title to be static
UITabBar -> UINavigationController -> MoreViewController(UIHostingController) -> MoreView(SwiftUI)
MoreView
List {
Section(
header: Text("ABOUT"),
footer: Text(aboutFooter)
.font(.caption)
) {
NavigationLink(destination: WebView(
request: URLRequest(url: URL(string: "https://www.websitepolicies.com/policies/view/ng0sNvAJ")!)
)//.navigationBarTitle(Text("Privacy Policy"))
) {
Text("Privacy Policy")
}
Text("Attribution")
}
}
.listStyle(GroupedListStyle())
.environment(\.horizontalSizeClass, .regular)