# \#navigation

**URL:** https://forums.swift.org/tag/navigation/374.md

[Latest](https://forums.swift.org/latest.md) · [Categories](https://forums.swift.org/categories.md) · [Tags](https://forums.swift.org/tags.md)

---

## [Is it possible to pop back multiple views in tree-based navigation?](https://forums.swift.org/t/is-it-possible-to-pop-back-multiple-views-in-tree-based-navigation/68094)

<div class="topic-metadata">

**Author:** [@bfongbfong](https://forums.swift.org/u/bfongbfong)\
**Replies:** 0\
**Last updated:** [October 27, 2023, 1:25am UTC](https://forums.swift.org/t/is-it-possible-to-pop-back-multiple-views-in-tree-based-navigation/68094 "2023-10-27T01:25:30Z")

</div>

I'm working on a note-taking app that is essentially a trie of text. For example if a user is on a note "Potatoes" inside the path "Home/Hobbies/Cooking/Recipes/Mashed\_Potatoes/Ingredients/Potatoes" and wants to return t…

---

## [Why am I getting "Update NavigationAuthority bound path tried to update multiple times per frame."?](https://forums.swift.org/t/why-am-i-getting-update-navigationauthority-bound-path-tried-to-update-multiple-times-per-frame/66673)

<div class="topic-metadata">

**Author:** [@alvg77](https://forums.swift.org/u/alvg77)\
**Replies:** 0\
**Last updated:** [August 9, 2023, 12:16pm UTC](https://forums.swift.org/t/why-am-i-getting-update-navigationauthority-bound-path-tried-to-update-multiple-times-per-frame/66673 "2023-08-09T12:16:26Z")

</div>

While playing around with NavigationStack and onAppear I noticed the following message appears in my console when navigating back to a view that focuses on a field with .onAppear. Here is the code: import SwiftUI clas…

---

## [Introducing 'LinkNavigator' - versatile navigation library for SwiftUI](https://forums.swift.org/t/introducing-linknavigator-versatile-navigation-library-for-swiftui/61495)

<div class="topic-metadata">

**Author:** [@Jager-yoo](https://forums.swift.org/u/Jager-yoo)\
**Replies:** 0\
**Last updated:** [November 17, 2022, 2:43am UTC](https://forums.swift.org/t/introducing-linknavigator-versatile-navigation-library-for-swiftui/61495 "2022-11-17T02:43:17Z")

</div>

Hi everyone! :wave:t2: y'all know that SwiftUI's navigation APIs are inconvenient in many ways. My team has developed our own navigation library so-called "LinkNavigator". This library is good for any uni-directional …

---

## [Navigation Issue - Bindings + Sheet](https://forums.swift.org/t/navigation-issue-bindings-sheet/60034)

<div class="topic-metadata">

**Author:** [@torcelly](https://forums.swift.org/u/torcelly)\
**Replies:** 3\
**Last updated:** [September 2, 2022, 10:50am UTC](https://forums.swift.org/t/navigation-issue-bindings-sheet/60034 "2022-09-02T10:50:13Z")

</div>

Hi. I created a navigation in my application. However, when I try to modify the state within the view hierarchy, it does not work. I created the simplest example I could, which shows the problem. public enum Route: Has…

---

## [Dependency Injection with Navigation Controller as Initial View Controller](https://forums.swift.org/t/dependency-injection-with-navigation-controller-as-initial-view-controller/58990)

<div class="topic-metadata">

**Author:** [@cj.whitaker](https://forums.swift.org/u/cj.whitaker)\
**Replies:** 0\
**Last updated:** [July 15, 2022, 11:45pm UTC](https://forums.swift.org/t/dependency-injection-with-navigation-controller-as-initial-view-controller/58990 "2022-07-15T23:45:22Z")

</div>

None of the tutorials I've seen on how to setup dependency injection, for sharing state, have a Navigation Controller as the root view controller. I've tried the following: func application(\_ application: UIApplication,…

---

## [Nested NavigationLinks with isActive bindings do not work as expected](https://forums.swift.org/t/nested-navigationlinks-with-isactive-bindings-do-not-work-as-expected/54281)

<div class="topic-metadata">

**Author:** [@chernousov-m](https://forums.swift.org/u/chernousov-m)\
**Replies:** 4\
**Last updated:** [December 27, 2021, 1:16am UTC](https://forums.swift.org/t/nested-navigationlinks-with-isactive-bindings-do-not-work-as-expected/54281 "2021-12-27T01:16:16Z")

</div>

Recently I was experimenting with SwiftUI navigation and I thought I found a way to make it flexible and loosely coupled, yet still state-based and somewhat free of imperative-navigation bugs (double push, etc). Basic i…

---

## [SwiftUI navigation regression in iOS 15](https://forums.swift.org/t/swiftui-navigation-regression-in-ios-15/53703)

<div class="topic-metadata">

**Author:** [@tera](https://forums.swift.org/u/tera)\
**Replies:** 1\
**Last updated:** [November 27, 2021, 11:00pm UTC](https://forums.swift.org/t/swiftui-navigation-regression-in-ios-15/53703 "2021-11-27T23:00:14Z")

</div>

I am struggling with an unwanted navigation that is triggered by iOS 15 SwiftUI machinery when an unrelated property of my data model changes. I've distilled this down to the following minimal app (I deliberately squeeze…

---

## [SwiftUI List with navigation links memory management](https://forums.swift.org/t/swiftui-list-with-navigation-links-memory-management/53376)

<div class="topic-metadata">

**Author:** [@tera](https://forums.swift.org/u/tera)\
**Replies:** 2\
**Last updated:** [November 9, 2021, 9:57pm UTC](https://forums.swift.org/t/swiftui-list-with-navigation-links-memory-management/53376 "2021-11-09T21:57:00Z")

</div>

I was very surprised to know that SwiftUI initialises the NavigationLink destination view before I actually navigate inside that link! Is this a bug or by design and if so why?! Any way to have those subviews allocated o…

---

## [Embedding content in a Navigation Link conditionally](https://forums.swift.org/t/embedding-content-in-a-navigation-link-conditionally/52408)

<div class="topic-metadata">

**Author:** [@rzulkoski](https://forums.swift.org/u/rzulkoski)\
**Replies:** 4\
**Last updated:** [September 28, 2021, 3:52pm UTC](https://forums.swift.org/t/embedding-content-in-a-navigation-link-conditionally/52408 "2021-09-28T15:52:35Z")

</div>

I'm working on building out some forms where some of the fields are drop-downs that push on a list of options for the user to make their selection. In some cases, the user may not be allowed to edit a particular field or…

---

## [SwiftUI navigation pop-to-root and TCA optional reducers - nondeterministic behavior](https://forums.swift.org/t/swiftui-navigation-pop-to-root-and-tca-optional-reducers-nondeterministic-behavior/42088)

<div class="topic-metadata">

**Author:** [@darrarski](https://forums.swift.org/u/darrarski)\
**Replies:** 10\
**Last updated:** [September 15, 2021, 6:22pm UTC](https://forums.swift.org/t/swiftui-navigation-pop-to-root-and-tca-optional-reducers-nondeterministic-behavior/42088 "2021-09-15T18:22:29Z")

</div>

I am trying to implement a SwiftUI application with NavigationView and an option to dismiss to the root view using Swift Composable Architecure. FirstView → present SecondView → present ThirdView → dismiss to FirstView…

---

## [Navigating inside an Effect uses previous state](https://forums.swift.org/t/navigating-inside-an-effect-uses-previous-state/50639)

<div class="topic-metadata">

**Author:** [@VinceMikhailKearney](https://forums.swift.org/u/VinceMikhailKearney)\
**Replies:** 2\
**Last updated:** [July 24, 2021, 5:16pm UTC](https://forums.swift.org/t/navigating-inside-an-effect-uses-previous-state/50639 "2021-07-24T17:16:09Z")

</div>

First off; Maybe even from the title I am already doing something wild but I at least want to see if this is possible or not. I have tried looking through examples and previous posts here but I can't find something that …

---

## [TCA: How to combine two or more reducers with the LoadAndNavigate approach](https://forums.swift.org/t/tca-how-to-combine-two-or-more-reducers-with-the-loadandnavigate-approach/44454)

<div class="topic-metadata">

**Author:** [@Ol-janx-spirit](https://forums.swift.org/u/Ol-janx-spirit)\
**Replies:** 1\
**Last updated:** [February 7, 2021, 8:54pm UTC](https://forums.swift.org/t/tca-how-to-combine-two-or-more-reducers-with-the-loadandnavigate-approach/44454 "2021-02-07T20:54:17Z")

</div>

Hi there! :wave: First of all, I tried to search for answers and examples concerning what I'm about to ask. However I couldn't find anything that could help me. Following the examples: 03-Navigation-Lists-LoadThenNav…

---

## [Implementing complex navigation stack in SwiftUI and The Composable Architecture](https://forums.swift.org/t/implementing-complex-navigation-stack-in-swiftui-and-the-composable-architecture/39352)

<div class="topic-metadata">

**Author:** [@darrarski](https://forums.swift.org/u/darrarski)\
**Replies:** 5\
**Last updated:** [January 8, 2021, 11:24am UTC](https://forums.swift.org/t/implementing-complex-navigation-stack-in-swiftui-and-the-composable-architecture/39352 "2021-01-08T11:24:07Z")

</div>

While working on several projects with SwiftUI and The Composable Architecture I approached some problems designing navigation flow. Let's assume the following scenario: We have an app with a feature, that can be used …

---

## [Programatic dismiss navigation animation based on State binding](https://forums.swift.org/t/programatic-dismiss-navigation-animation-based-on-state-binding/39275)

<div class="topic-metadata">

**Author:** [@thehavre](https://forums.swift.org/u/thehavre)\
**Replies:** 8\
**Last updated:** [September 27, 2020, 5:05pm UTC](https://forums.swift.org/t/programatic-dismiss-navigation-animation-based-on-state-binding/39275 "2020-09-27T17:05:14Z")

</div>

Hi there! This post is not really a question, but more about curiosity and perception of a "problem". Maybe such a question would lead to the enhancement of TCA :) Foreword: In the new fabulous world of SwiftUI and TCA-…

---

## [How to use imperative UIKit navigation with SwiftUI-view and Load-then-navigate pattern](https://forums.swift.org/t/how-to-use-imperative-uikit-navigation-with-swiftui-view-and-load-then-navigate-pattern/37097)

<div class="topic-metadata">

**Author:** [@jakobmygind](https://forums.swift.org/u/jakobmygind)\
**Replies:** 2\
**Last updated:** [June 1, 2020, 1:52pm UTC](https://forums.swift.org/t/how-to-use-imperative-uikit-navigation-with-swiftui-view-and-load-then-navigate-pattern/37097 "2020-06-01T13:52:57Z")

</div>

Hi there, another one previously slightly on the fence regarding introducing TCA to the team overall, but who is now embracing it :heart: I would, however, like to have a UIKit shell calling into SwiftUI-views and navig…
