1,161 questions
0
votes
0
answers
57
views
How can I use navigationDestination for cross linking in a NavigationSplitView
I am writing a Universal App for macOS, iOS 26 and want to do a two column layout with NavigationSplitView.
In the sidebar I have two NavigationLinks with a value of NavigationOption, which are used ...
1
vote
3
answers
91
views
Multiple NavigationLinks in a List Trigger Simultaneously – How to Fix?
In SwiftUI, when I place multiple NavigationLink views directly inside a HStack, then put this HStack inside a List, clicking one link triggers all NavigationLink views, causing unexpected navigation ...
0
votes
0
answers
23
views
How to remove NavigationLink arrow (chevron?)? [duplicate]
I want to remove (or hide) the navigation arrow (chevron) but failing miserably. Could you please support me?
HStack(alignment: .center) {
NavigationLink {
VerseView(initialRow: row)
...
0
votes
1
answer
47
views
Automatically "Back" action after List item selection in NavigationLink
I have some screen in iOS app with NavigationStack (or NavigationView) which contains different elements. One of them is searchable List which is wrapped in NavigationLink. So this searchable list ...
0
votes
1
answer
92
views
NavigationLink in swiftui and routing
first of all thanks for attention and your help, so...
in my app I have router from where I log and logout user
@main
struct JobMatchApp: App {
@StateObject private var vm = RouterViewModel()
...
1
vote
1
answer
81
views
How to make NavigationLink rows clear?
I am trying to make NavigationLink rows transparent in a List while using SwiftUIIntrospect to make the NavigationStack background clear. However, I am encountering an issue where the solution does ...
1
vote
1
answer
75
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 ...
0
votes
1
answer
82
views
SwiftUI - Image in NavigationLink clipped when adding cornerRadius
I'm working on a SwiftUI app for tvOS. I have a NavigationLink with an image and a line of text. The item works as expected, when in focus it grows. However, if I change the corner radius (the default ...
0
votes
1
answer
430
views
Navigation Issue in iOS 18: Duplication of Navigation Trigger When Using @Environment(\.dismiss) in SwiftUI
I’m encountering an issue with SwiftUI navigation in iOS 18, where navigating to a DetailView causes unexpected duplication of navigation behavior when @Environment(.dismiss) is used.
Code Example:
...
0
votes
0
answers
114
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?
...
0
votes
0
answers
64
views
Why does NavigationView navigates back to root if item in master was selected?
The master of the NavigationView navigates back to root, if a item was selected. But only if previously a item in the root list was selected.
Tested on iPadOS.
Steps to reproduce:
Select a item in ...
0
votes
1
answer
269
views
SwiftUI Navigation Link Arrow/Chevron modify position
I'm trying to recreate the messages app from Apple, I noticed that their chevron on the chat selection is at the top and not the center like how navigationLink gives by default.
Here is an image of ...
0
votes
0
answers
18
views
NavigationDestination "in" variable as Binding in destination view not possible, why?
I did some searching but didn't understand the answer and I hope, I can ask the question again and get some help to find a solution.
I have a LazyVGrid with a NavigationLink inside and I would like to ...
0
votes
0
answers
49
views
Dismiss keyboard and submit text in TextField when NavigationLink tapped
I have a List containing a TextField and a couple of NavigationLink items. When I tap into the TextField, the keyboard appears and I can enter a text. I would like to hide the keyboard and submit the ...
0
votes
1
answer
186
views
SwiftUI NavigationLink goes back immediately on first activation after app launch
I am experiencing an issue with programmatic navigation in my SwiftUI app. I use a NavigationLink with an isActive binding to navigate to a specific view (EditUser). The first time I toggle the ...
1
vote
1
answer
42
views
How to make a custom cell/row menu clickable (3 dots at top right) in a List with NavigationLink
I am trying to show popover when user click on custom cell/row menu in List. But every time the cell get the action and navigating to inside the details screen. Here is my code snippet. Also attached ...
0
votes
0
answers
41
views
Pass data to next view using Binding<T?>
I need some help from my colleagues because I can't handle it on my own. I am stuck.
I have a database on Firebase with training programs in it. ProgramsID loads the list of trainings. Here's how the ...
0
votes
1
answer
125
views
Swifui button image is stretching across the entire streen
I am not sure how to get the image to stay in a reasonable size, being new to SwiftUI I have no doubt that this is completely my fault.
The code is as follows:
import SwiftUI
struct AnimalsView: ...
1
vote
1
answer
247
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 ...
0
votes
0
answers
876
views
NavigationLink does not work when running the app on iOS 18
I am testing out my app on iOS 18 Developer Beta and I noticed that one of my NavigationLink components is not working. It works on all other previous iOS versions, so it's definitely an 18 specific ...
2
votes
1
answer
304
views
NavigationLinks don't open with List with selection inside NavigationStack. Show Toolbar between views inside NavigationStack
I use in my Swift UI application for iOS NavigationViews (as .stack). Also I use nested NavigationView inside NavigationView and everything looked as I needed. But I decied to fefuse to use deprecated ...
2
votes
0
answers
95
views
SwiftUI toolbar bug inside NavigationView
I have code with NavigationView and some NavigationLinks so one of them has toolbar modifier.
My problem is that when I select first NavigationLink toolbar button act normally, but when I go to second ...
1
vote
1
answer
253
views
How to get pickerStyle(.navigationLink) to scroll automatically to the selected value
I wish to use a picker with pickerStyle(.navigationLink) to select a value.
The list of values is long and so I would expect the picker list on the new screen to scroll automatically to ensure the ...
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 ...
0
votes
1
answer
72
views
SwiftUI and NavigationLink - optional var in destination view is not initialising
I use in iOS app NavigationLink in NavigationView (for supporting iOS 15). NavigationView contains list of some items. I would like to use the same view for adding new items and editing exist (after ...