Skip to main content
2 votes
0 answers
50 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
32 views

SwiftUI: PlayerBarView Not Persisting Across Navigation in Nested Views

I'm working on a SwiftUI app where I have a PlayerBarView that should persist across different views, specifically within a ListeningContainerView that contains a ListeningView and navigates to a ...
peyo's user avatar
  • 371
0 votes
1 answer
55 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: ...
Gunndroid's user avatar
1 vote
0 answers
62 views

Hiding tab bar on iOS 18 when pushing screens with NavigationStack animation glitch

Given that on iPadOS 18 the TabBar is on the top, and I need to hide/show it based on push/pop a view to/from a NavigationStack I am experiencing a weird animation glitch. This question is similar an ...
Petar's user avatar
  • 2,291
0 votes
1 answer
65 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()     ...
the middle's user avatar
0 votes
2 answers
75 views

NavigationStack inconsistent push animation with zoom navigation transition when back button hidden

In SwiftUI with attached code when i set navigationBarBackButtonHidden to true, the NavigationStack's navigation bar always pushes in when I dismiss the detail view. Since it's a zoom transition, I ...
randomor's user avatar
  • 5,685
4 votes
1 answer
127 views

Hiding new tab view in iOS 18 when pushing screens

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
1 answer
98 views

SwiftUI TabView hidden tabbar navigation stack animation order issue

I am having the following view: import SwiftUI struct HiddenTabs: View { var body: some View { TabView { NavigationStack { NavigationLink("Tap Me") {...
Bogdan Gusiev's user avatar
0 votes
0 answers
27 views

Auto-Collapsing navigationTitle when using TabView w/ shared toolbar?

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,500
0 votes
0 answers
40 views

How to add custom back button with swipe to back gestures in SwiftUI

I want to add custom back button to my app with out losing swipe to back gestures. Adding this .navigationBarBackButtonHidden(true) will remove swipe to back gestures I tried adding below snippet to ...
karthik rashinkar's user avatar
0 votes
3 answers
85 views

show fullscreen view with overlay in SwiftUI?

I have 2 views: import SwiftUI struct SwiftUIView: View { var body: some View { NavigationStack { ... //show SwiftUIView2 } .toolbar { ... }...
Gargo's user avatar
  • 1,392
1 vote
1 answer
61 views

How do some SwiftUI modifiers modify higher level views?

Most SwiftUI modifiers modify the views beneath them in the hierarchy, but some modifiers modify views above them in the hierarchy. In my example below .navigationTitle, .toolbar, and ....
pinglock's user avatar
  • 1,291
1 vote
1 answer
58 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 ...
Gabriel Stan'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
1 answer
109 views

Is there any advantage of using NavigationStack when working with .sheet or .fullScreenCover navigation?

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

15 30 50 per page
1
2 3 4 5
25