1,162 questions
0
votes
0
answers
48
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 ...
0
votes
1
answer
331
views
How to hide `TabViewBottomAccessory` when drilling down?
I would like to conditionally render TabViewBottomAccessory because I don't want to show it when I am drilling down. When going to the child view I want to hide both tab view (which I achieved by ....
1
vote
3
answers
83
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 ...
2
votes
1
answer
125
views
Why does NavigationLink break my NavigationSplitView
Below I have created a simple NavigationSplitView for MacOS using Swift. Both the sidebar and the detail page rely on an Observable value. When I switch that observable value both sidebar and detail ...
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)
...
2
votes
0
answers
137
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 ...
0
votes
1
answer
46
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
97
views
SwiftUI Navigation Issue: Unable to Reset to Welcome Screen on Logout with Nested NavigationLinks
I'm building a SwiftUI app with Firebase Authentication and experiencing navigation issues when users log out. My app has the following structure:
A root view in App.swift that conditionally shows:
...
0
votes
1
answer
85
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()
...
0
votes
0
answers
102
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 ...
1
vote
1
answer
76
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 ...
0
votes
2
answers
136
views
Why does FocusState break when a view is pushed on the NavigationStack?
I have a view called TitleList that allows the user to edit the title of a row using a .swipeAction (it will replace the NavigationLink with a TextField).
While a title is being edited, if a user taps ...
1
vote
1
answer
67
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 ...
1
vote
0
answers
8
views
I am not using NavigationLink and .navigationDestination correctly
I am adding an EventList to my app of CardViews but the List is not working properly. The button to access the list is at the bottom of my stack. when selected the EventList appears but selecting the ...
0
votes
1
answer
78
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 ...