Remove space NavigationTitle but not the back button
问题 I want to remove the NavigationTitle Space without removing the back button. I have already tried this: .navigationBarItems(trailing: NavigationLink(destination: Preferences(viewModel: viewModel).navigationBarHidden(true)) { Image(systemName: "gear") .font(.title2) } ) but that removes the back button as well. 回答1: Standard Back button cannot be shown without navigation bar, because it is navigation item, so part of navigation bar. I assume you just need transparent navigation bar. Here is