Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
57 views

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 ...
Johannes Dorn's user avatar
0 votes
1 answer
421 views

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 ....
Andrew's user avatar
  • 49.8k
1 vote
3 answers
94 views

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 ...
ximmyxiao's user avatar
  • 2,923
2 votes
1 answer
136 views

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 ...
Alan's user avatar
  • 33
0 votes
0 answers
23 views

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) ...
Bomboletto's user avatar
2 votes
0 answers
141 views

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,933
0 votes
1 answer
47 views

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 ...
Serhii R's user avatar
0 votes
1 answer
111 views

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: ...
Gunndroid's user avatar
0 votes
1 answer
98 views

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()     ...
the middle's user avatar
0 votes
0 answers
103 views

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
87 views

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 ...
Gabriel Stan's user avatar
0 votes
2 answers
155 views

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 ...
Ser Pounce's user avatar
  • 14.3k
1 vote
1 answer
82 views

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
1 vote
0 answers
8 views

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 ...
AnnLee's user avatar
  • 11
0 votes
1 answer
89 views

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 ...
cesarcarlos's user avatar
  • 1,469
0 votes
1 answer
50 views

I'm working on creating a tvOS app in SwiftUI for the first time. I'm pretty new at this. I have a row of buttons, which works properly. Whenever I change focus the item in focus increases in size. ...
cesarcarlos's user avatar
  • 1,469
0 votes
1 answer
433 views

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: ...
Najoua Mahi's user avatar
1 vote
0 answers
122 views

Well Im just creating a personal project and then I face this bug. My navigation looks like this, if you compile the code and then try to navigate while you are not searching the .toolbar(.hidden) is ...
DiegoMod1's user avatar
0 votes
0 answers
114 views

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
3 votes
0 answers
115 views

I’m currently working on a SwiftUI project and trying to implement a transition effect similar to ZoomTransitions. However, I’ve run into an issue. When transitioning from Page A to Page B using ....
Ehz uiq's user avatar
  • 81
0 votes
0 answers
64 views

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 ...
Manuel Berghaus's user avatar
-1 votes
1 answer
99 views

Problem: Detail view transition only animates the first time Workaround: Make the LazyVStack a VStack. But this is not desirable. Code: struct TestView: View { var body: some View { ...
Arjan's user avatar
  • 17.2k
0 votes
1 answer
277 views

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 ...
Maffinz's user avatar
  • 13
2 votes
2 answers
53 views

Apologies because I'm new to SwiftUI - I have a class (Meal) that contains an array of objects of another class (Food). What I'm trying to achieve here is to be able to add foods and have that update ...
Moses Harding's user avatar
0 votes
0 answers
18 views

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 ...
piro299's user avatar
  • 35
0 votes
1 answer
123 views

I'm building a SwiftUI app where I have a list of notes. I want to add a new note to the list when a button is clicked and immediately navigate to the detail view of that new note, similar to what ...
milkycards's user avatar
0 votes
0 answers
49 views

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 ...
Roman's user avatar
  • 15
0 votes
0 answers
34 views

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 ...
Feyz's user avatar
  • 15
0 votes
1 answer
192 views

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 ...
Iñigo Bereciartua's user avatar
1 vote
1 answer
122 views

The boiler plate code for a Multiplatform app on Xcode 16.1 (macOS 15.1) with SwiftUI and SwiftData, has a NavigationSplitView containing a List of NavigationLinks. When the NavigationLink contents ...
Jim McGowan's user avatar
1 vote
1 answer
42 views

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 ...
Ganesh G's user avatar
  • 2,071
1 vote
0 answers
53 views

I'm using a hero transition and I can't find a way to disable the dragging down dismiss behavior in the second view. I only want to dismiss the view using a button. struct HomeView: View { var ...
DiegoQ's user avatar
  • 1,156
0 votes
0 answers
41 views

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 ...
Ruzlev's user avatar
  • 3
0 votes
0 answers
177 views

I tried everything, but I couldn't change the color of the chevron here. I have a UIKit ViewController which in turn is instantiating a SwiftUI view, which in turn creates and displays 3 other SwiftUI ...
The Outstanding Question Asker's user avatar
0 votes
1 answer
130 views

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: ...
Douglas W. Palme's user avatar
0 votes
1 answer
179 views

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
249 views

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
2 votes
2 answers
766 views

I'm trying to build an App with two rows NavigationSplitView. The sidebar is used to have categories and the main section as a table (!) of items. When an item (=row) in this table is doubleClicked I ...
SwiftyYns's user avatar
0 votes
0 answers
877 views

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 ...
Guy's user avatar
  • 6,522
-1 votes
1 answer
50 views

I am attempting to create a segue from one view to another in SwiftUI with NavigationLink but so far have been unable to get this to work. Here is the code I'm working with: ...
Douglas W. Palme's user avatar
2 votes
1 answer
306 views

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 ...
Serhii R's user avatar
1 vote
1 answer
95 views

NavigationLink stops working if I add a .onLongPressGesture to my label element. Since .onTapGesture and .onLongPressGesture work well together, I thought these could coexist as well. I've found ...
WorldNeedsRefactoring's user avatar
2 votes
0 answers
98 views

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 ...
TimParker's user avatar
0 votes
1 answer
424 views

Please bear with me on this question as I am still learning iOS development using Swift. I currently have an app where the ContentView is a MapView with a clear toolbar at the top. The toolbar has a ...
dnahabedian's user avatar
1 vote
1 answer
253 views

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 ...
Chris Lindsey's user avatar
1 vote
2 answers
138 views

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

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
0 votes
2 answers
95 views

Imagine you have a struct like struct TheObject: Identifiable, Hashable { var id: String var title: String } Now you store an array of that type inside a ViewModel class Model: ...
Meyssam's user avatar
  • 941
0 votes
1 answer
76 views

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 ...
Serhii R's user avatar
0 votes
1 answer
377 views

struct Item: Identifiable { let id = UUID() let title: String } struct ContentView: View { let items = [Item(title: "One"), Item(title: "Two"), Item(title: "...
soleil's user avatar
  • 13.3k

1
2 3 4 5
24