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
Asked
Active
Viewed 568 times
0
-
You might find helpful approach proposed in [this](https://stackoverflow.com/a/59560140/12299030) topic, which also considered possibilities to make friends NavigationView with TabView – Asperi Jan 08 '20 at 16:55
-
This could be the right approach for you: https://stackoverflow.com/questions/58104813/change-the-root-view-of-uihostingcontroller-in-swiftui/58105259#58105259 – LuLuGaGa Jan 08 '20 at 19:34
-
@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 Jan 09 '20 at 04:19