Is there a way to remove the Tabbar from a page?
The flow I have is to start session .. have a page with a menu of three tabs,
one of them is the profile page in it is the logout, what I do here is: clear the UserDefaults and navigate back to the login screen, but here I get back in the tab bar
TabView:
TabView{
MainUIView()
.tabItem{
Image(systemName: "house")
Text("main9")
}
Text("Inserte su anuncio AQUI!")
.tabItem{
Image("aidi")
Text("Hello")
}
ProfileUIView()
.tabItem{
Image(systemName: "person.fill")
Text("perfil")
}
}
.accentColor(Color("blueColor"))
my code NavigationLink in Profile
NavigationLink(destination: LoginUIView()
.navigationTitle("")
.navigationBarHidden(true)
.navigationBarBackButtonHidden(true)) {
HStack(alignment: .center){
Image("exit")
.resizable(resizingMode: .stretch)
.frame(width: 30.0, height: 30.0)
.padding(.top,UIScreen.main.bounds.width / 5)
.padding(.trailing,50)
}