Skip to main content
Filter by
Sorted by
Tagged with
2 votes
1 answer
40 views

I want to use NavigationStack with a custom navigation path array supporting multiple destination types. For example: enum A: Hashable { ... } enum B: Hashable { ... } NavigationStack(path: $...
RMP's user avatar
  • 5,441
0 votes
2 answers
112 views

I have a form being loaded inside a navigation stack and I'm showing an image and title in the first form section with the code below: Form { Section { VStack { Image("...
ShadesJeff's user avatar
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
1 vote
0 answers
103 views

I'd like to achieve a layout similar to the one shown in the Apple Fitness app. When I insert a ScrollView into a TabView, everything works fine, but if I try to add a NavigationStack to wrap the ...
HAS's user avatar
  • 35
1 vote
1 answer
286 views

How can I avoid the flickering ToolbarItem when switching between tabs, while still keeping a dedicated NavigationStack for each Tab? I have unsuccessfully tried: Nesting the TabView inside another ...
fer0n's user avatar
  • 1,303
0 votes
1 answer
130 views

So by default on ios you can swipe from the edge of the screen to go back, and this question shows how to keep that while disabling the back button: Hide navigation bar without losing swipe back ...
A. Kriegman's user avatar
-1 votes
1 answer
151 views

I'm working on a SwiftUI app to manage recipes. I present a list of recipes in RecipesListView, and when the user taps on one, I navigate to a RecipeDetailView. Inside that detail view, I allow the ...
javier_alvarez's user avatar
0 votes
1 answer
55 views

I'm targeting iOS18 and above, I'm trying to achieve this effect The app displayed is Revolut, I want to create a similar effect but I can't seem to find a starting point I also need it to be in sync ...
Pedro Cavaleiro'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
99 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
92 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
4 votes
1 answer
309 views

With iOS 18 Apple decided to move our beloved bottom tab bar controller to the top of the screen (apparently thats more modern). I am having the following situation: I have TabView where we have root ...
Boyan Pavlov's user avatar
0 votes
0 answers
43 views

Suppose I have a TabView which is the root of my app. I need to be able to tab between each of these, but some of them have their own NavigationStack Every one of them has a List associated with them, ...
xTwisteDx's user avatar
  • 2,520
0 votes
3 answers
195 views

I have 2 views: import SwiftUI struct SwiftUIView: View { var body: some View { NavigationStack { ... //show SwiftUIView2 } .toolbar { ... }...
Gargo's user avatar
  • 1,380
1 vote
1 answer
81 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
1 answer
304 views

After working with UIKit for several years I am still quite new to SwiftUI and especially to its navigation features. Currently I am trying to get my head around NavigationStack and ....
Andrei Herford's user avatar
0 votes
1 answer
41 views

I observed this issue and added feedback to the Apple Feedback Assistant. However, here is the problem: When switching from portrait to landscape format and back, the back button in the navigation ...
Simon Bogutzky's user avatar
0 votes
1 answer
430 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
0 votes
1 answer
71 views

This is an interesting scenario. While I'm not going to get into designing the viewHandler, assume a parent view has NavigationStack setup where you can append to the navigationPath variable. Let's ...
kittonian's user avatar
  • 1,534
1 vote
0 answers
51 views

I have a full code example below. The problem is that when I tap "Go to Detail" in the DogsView, the detail view is not visually pushed, although the path does get added to the path array ...
soleil's user avatar
  • 13.3k
0 votes
0 answers
63 views

I am getting a lot of odd behavior with NavigationStacks and NavigationSplitView and am unclear why. There are several things going on, different depending on portrait or landscape. The sample app has ...
Russ's user avatar
  • 586
1 vote
1 answer
27 views

I am learning iOS development using SwiftUI. I pass my user to DetailView using NavigationStack : let shape = RoundedRectangle(cornerRadius: Constants.cornerRadius) NavigationStack { ...
Ali's user avatar
  • 10k
3 votes
1 answer
229 views

What is the difference between ①navigationBarTitleDisplayMode and ②toolbarTitleDisplayMode when using them with SwiftUI’s navigationTitle? It appears that .inlineLarge only works with the latter (②), ...
Kngw Kngw's user avatar
  • 123
3 votes
1 answer
848 views

The new .navigationTransition feature introduced in SwiftUI for iOS 18+ offers an impressive animated screen transition. However, during the transition, the parent view shrinks, leaving a white margin ...
Kngw Kngw's user avatar
  • 123
-1 votes
1 answer
486 views

I have this bottom sheet in my app I'm building for a tutorial (100 days of Swift UI), and I noticed that the exact same code for showing a bottom sheet with a title has different effects on iOS18 vs ...
Sebastian Stoelen's user avatar

1
2 3 4 5
8