20 questions
0
votes
0
answers
61
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
1
answer
65
views
How to open a view over the parent one with cards effect
I spend a lot of time with asking copilot and google how to do this type of transition in swiftui but without result.
I need this type of transition between two views. How to do it in swiftui?
As you ...
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
0
answers
38
views
SwiftUI table view not updated on selection change [duplicate]
I have implemented a tree view representing different types of objects. Details for these objects should be displayed in a tabbed table view. If I do select an object in the tree, the details of this ...
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 ...
-2
votes
1
answer
41
views
I create the view in SwiftUI where i add textfield, and this view add in main SwiftUI and these is view model. I want change set if text in view Model
Current i did this code mention below for login activity there is custom text field which i created separately and load this is two time in main content which name is logintypeview. one is used for ...
0
votes
2
answers
414
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 ...
0
votes
1
answer
51
views
Body not in proper position while navigating in SwiftUI
Recently tried using SwiftUI .
While working with Navigation the UI keeps breaking when going from one screen to another.
I am using NavigationStack and NavigationLink while navigating from one screen ...
1
vote
1
answer
952
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 ...
0
votes
1
answer
1k
views
Navigation in Swift with SwiftUI
I am a newbie in swift development with iOS. Currently I have started a project in Swift with SwiftUI that has different hierarchies of views. There are different switches between the views. I have ...
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 ...
0
votes
1
answer
273
views
NavigationStack crashes when changing path in iOS 17.1.2
In my SwiftUI app I'm using NavigationStack with navigationDestination modifier to navigate user between views. In my AppState I'm holding a state for array of NavigationPath that are triggering state ...
1
vote
1
answer
606
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
0
answers
40
views
screen not navigating to other screen based on conditions, on button click
I want to navigate to ChatScreen() based on conditions, when click on right group, print statement is showing "group found" but its not navigating:
List(viewModel.danceGroups) { group in
...
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 ...
0
votes
1
answer
265
views
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 ...
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 ...
0
votes
0
answers
227
views
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: ....
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 ...
2
votes
1
answer
2k
views
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 ...