Replies: 2 comments 1 reply
-
|
Still actual...) |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Hi! Wrapping something in a NavigationViewCoordinator is the same as wrapping a view in NavigationView using vanilla SwiftUI. If you don't want the Navigation bar, simply don't use the NavigationViewController :) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Uh oh!
There was an error while loading. Please reload this page.
-
Hi all!

Please can somebody explain and help me.
I'm trying to push TabView controller after login, and if I understand clearly Stinsen, I can do it with 2 ways:
func makeTabView() -> NavigationViewCoordinator {
return NavigationViewCoordinator(TabBarCoordinator())
}
and
@ViewBuilder func makeAuthenticated() -> some View {
TabBarController()
}
But I cant understand, which is better? If I use first, every tabs on my TabView getting new Navigationbar and I cant hide it.
When I should use first method and when second?

By the way, I cant make logout from 1 tab. My logout method make login screen only on tab where I calling it. Tab view still on the screen and cant understand how to remove it if I writing @root var login = makeLogin
Beta Was this translation helpful? Give feedback.
All reactions