I have a flow of user registration. Where Welcome screen wrapped in NavigationView and then after several screens NavigationLink opens TabView. As I understand, as a result, TabView is in this navigation stack and has an extra space at the top of the screen. How to avoid this situation? I've tried this solution: https://stackoverflow.com/a/57332701/9325884 But it works only if you have one aka Login screen. So, I'm looking for a solution how to switch between two Navigation stacks. TIA
0
votes
You might find helpful approach proposed in this topic, which also considered possibilities to make friends NavigationView with TabView
– Asperi
This could be the right approach for you: stackoverflow.com/questions/58104813/…
– LuLuGaGa
@LuLuGaGa, thank you! That way is a good one when registration is already finished. I'm in the process of it. When registration is finished and the next screen should start from TabView
– Lina_F
1 Answers
0
votes
I found a solution in this article - link here and used @EnvironmentObject to manage what screen to show for my user depending on state