Skip to main content

All Questions

2 votes
0 answers
49 views

`.navigationBarBackButtonHidden()` not working on iOS 18.4

Current situation I've got a minimal reproducible example of DocumentGroup app using a NavigationSplitView with a DetailView. I want to completely remove the default Navigation Bar inside these views ...
Luïs's user avatar
  • 2,883
0 votes
0 answers
87 views

SwiftUI PhotosPicker Only Responds to Long Press

SwiftUI beginner here. I’m encountering an issue with SwiftUI’s PhotosPicker: a normal tap on the PhotosPicker rarely triggers the picker UI, while a long press eventually works. The PhotosPicker is ...
Space Time's user avatar
1 vote
1 answer
47 views

is it possible to get NavigationSplitView to work on iPhone when not on root view?

I have an app that utilizes NavigationSplitView on the next view that gets pushed onto the root view's NavigationStack (I don't like using a three column layout and prefer to have an entire screen for ...
Ser Pounce's user avatar
  • 14.3k
0 votes
0 answers
85 views

NavigationLink not redirecting to destination when NavigationSplitView is not the root view in SwiftUI

I have the following SwiftUI code, where everything works correctly when NavigationRoutes is the root view: struct NavigationRoutes: View { @State private var currentSelection: Destinations? ...
kwiky's user avatar
  • 41
0 votes
1 answer
122 views

SwiftUI: How to Navigate from Screen C Back to Screen A (Skipping Screen B) with Back Swipe Gesture?

I'm building a SwiftUI app where I have three screens (A, B, and C) navigated sequentially. The flow looks like this: Screen A -> Screen B -> Screen C I want to achieve the following behavior: ...
akhsary's user avatar
1 vote
1 answer
147 views

NavigationStack(path: ) - Is path meant to update the Binding<Value> passed in?

I'm a little confused by the syntax of NavigationStack(path: Binding), as mentioned above, it looks like NavigationStack should automatically handle the updating of path when a NavigationLink is ...
Elliott D'Alvarez's user avatar
1 vote
2 answers
117 views

SwiftUI Handling EnvironmentObject Resets with navigationLink : Avoiding Navigation View Rebuilds

I have the code below where I use a NavigationLink to add multiple child views on button click. However, as soon as I increase the EnvironmentObject value, all views reset, and only ChildView 1 ...
Umair Ahmed's user avatar
1 vote
0 answers
1k views

Abnormal number of gesture recognizer dependencies: 100. System performance may be affected

In my IOS application I have a problem with menu when I start changing tabs (for example 20 times) I am getting error Abnormal number of gesture recognizer dependencies: 100. System performance may be ...
Kromczetto's user avatar
1 vote
1 answer
262 views

Why NavigationLink is not working sometimes, even when we alter the isActive variable?

Have you ever experienced the NavigationLink not working sometimes, but when you scroll the list to the bottom or do something else, the navigation is triggered? NavigationView { List { ...
Mushrankhan's user avatar
0 votes
0 answers
71 views

Moving between views in swift

I have a button in a separate component that I display in a menu. One of the buttons in the menu leads to the homepage where the menu is also displayed. When I start clicking the button, the same ...
Kromczetto's user avatar
0 votes
1 answer
205 views

NavigationStack for iOS15.0+

I am trying to create a kind of Coordinator that stacks the views while navigating and make it compatible from iOS 15.0. Here is my code that works for the first push to the next view but after going ...
Andres Paladines's user avatar
0 votes
0 answers
67 views

Using NavigationLink(destination:, label:) and .navigationDestination in the same app breaks Navigation Stack

In an app I'm working on, NavigationStack is created at the App level with Screen 1 as the root. Screen 1 has a NavigationLink with destination and label parameters. On tapping the NavigationLink, the ...
Gowtham Ravichandran's user avatar
1 vote
2 answers
550 views

Are there any way to work using NavigationStack with NavigationLink to support applications below iOS 16?

In some points of the code, I need to use this: NavigationLink( destination: LoginViewScreen(), isActive: $navToLogin ) { EmptyView() } ... because my navigation is not using ...
Joao Macedo Dev's user avatar
2 votes
1 answer
480 views

SwiftUI Navigation Link Selection's Highlight Not Working

In iOS, when you tap a row in a list to navigation to a page, the row gets highlighted to indicate which row is selected. This is not working for me when I have a NavigationStack(path:root:) that uses ...
Argerano's user avatar
1 vote
1 answer
384 views

Dismissing multiple views within navigation stack

I have stacked multiple view via NavigationLink within a list. My app code is complex, so I have tried to simplify it as much as I could. Let's say I have a button "Click Me" in one of the ...
tech_human's user avatar
  • 7,176

15 30 50 per page
1
2 3 4 5
18