20 questions
0
votes
0
answers
57
views
Unable to navigate when using Navigator Library in SwiftUI
I am trying out Navigator, and following NavigatorDemo project. I am building a scenario, where flow will be:
Onboarding -> Login -> Tab Views
User can also move like:
Onboarding -> Login -&...
0
votes
0
answers
34
views
swiftui full swipe navigation feature does not work with multiple navigation in a row
I created a view in Swiftui to add full swipe navigation feature and in this view full swipe feature works only on the first navigation screen. when there are multiple navigations in a row, full swipe ...
0
votes
1
answer
49
views
How do I remove space between the navigation bar and the view?
I am getting a lot of unnecessary space between the navigation bar and the beginning of the FormContent view. I tried putting top padding of the FormContent as 0, but it didn't work. How do I remove ...
0
votes
2
answers
405
views
Is it possible to present a NavigationStack view from inside a sheet?
Many popular apps have the ability to navigate to a new view from a sheet. For example, in the comment sheets in Instagram and TikTok, pressing on the commenting user's icon pushes in a whole new view ...
1
vote
1
answer
945
views
Overlay NavigationStack with content directly under navigation bar
I would like to overlay some content on all views that are in a NavigationStack. The content I would like to be positioned directly under the navigation bar. In the screenshot below, this is exactly ...
2
votes
1
answer
121
views
Can’t make a button tappable parallel to navigationTitle
The button is not tappable as I move it to the extended line of the title. If I move it to somewhere else, it works but I want to place it on the line of Title.
But whenever I do it, it does not ...
1
vote
1
answer
601
views
Executing Code Based on Elapsed Time in SwiftUI's TimelineView
Lets say you have a SwiftUI app where you are implementing navigation like this:
import SwiftUI
enum ScreenToShow {
case main, child
}
@Observable
class NavigationController {
var screen: ...
0
votes
1
answer
95
views
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 ...
21
votes
2
answers
17k
views
How to use .navigationDestination with Button in SwiftUI for complex navigation scenarios?
How to use .navigationDestination with Button in SwiftUI for complex navigation scenarios?
I'm currently working on a settings page which has approximately 10 buttons. Each of these buttons is not in ...
2
votes
0
answers
104
views
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 ...