Questions tagged [swiftui-navigation]
7 questions
2
votes
0 answers
Navigate to the next screen only after Firestore tasks are complete SwiftUI
I'm performing certain Firestore tasks in my App like Signing u/Signing out. I want to Navigate to the Home Screen of my App after the Sign-up/Login is successfully completed and a FirebaseAuth.User has been set in my Model.
I've written an…

Amey079
- 131
- 7
2
votes
1 answer
A complex Navigation with NavigationPath in SwiftUI
The usual flow is the stack. Push views and pop views. My requirements is a bit complex and I did not find a way to do it in IOS 16.
Let say we have a
Cover page
Contents page
Details page
Now, the requirements;
Cover page can push the Details…

kelalaka
- 5,064
- 5
- 27
- 44
0
votes
1 answer
Changing destination value doesn't open the screen
I am trying to implement enum based navigation with SwiftUINavigation framework. In my main app I try to setup deeplinking but I faced a problem with navigation links. When I change destination, the app closes the initial screen but doesn't open the…

Nikita Tepliakov
- 61
- 7
0
votes
0 answers
Set Variable when Navigate pages
I need set a variable when I move between pages to hide or show a custom NavBar. I made in this way, but I'm not convinced. There is a better solution?
@Binding var navVisibility: Bool
var body: some View {
List {
NavigationLink {
…

FeroX
- 57
- 11
0
votes
1 answer
SwiftUI - Undo a backwards move in a NavigationStack
When I navigate backward (like swiping the view from the left), I want to be able to swipe it back from the right to move to that previous view. Sort of like an undo stack.
Is it possible to use NavigationStack or other existing views to solve that?

roydbt
- 91
- 1
- 8
0
votes
0 answers
How can I prevent text alignment issues in SwiftUI NavigationLink?
I'm trying to turn an entire block of code in a link to another View using NavigationLink(). The problem is that when the text in those blocks reaches the end of the line, the text is aligned in the center. It's very annoying because it messes up my…
0
votes
0 answers
Chain NavigationLinks using Point-Free's swiftui-navigation
I am testing Point-Free's swiftui-navigation.
It works as expected when I run the app from the first or second screens.
ContentView(viewModel: .init(route: nil))
ContentView(viewModel: .init(route: .second(route: nil))
But, when I run the app from…

Sergio
- 1,610
- 14
- 28