swiftui-navigationview Questions
2
NavigationView nests TabView, I have a List, and push to the next page
When the application returns to the background and returns to the active state, the push page automatically pops up.
If TabVie...
Cistaceous asked 18/3, 2022 at 8:33
2
Solved
I made a custom nav bar. and added a scroll view below it. The problem I am getting is when I scroll down, the data inside scroll view comes over the navigation bar. Here is the screenshot:
My cod...
Christean asked 18/4, 2022 at 11:29
4
Solved
I'm currently developing an app using NavigationStack. I wonder where should I put the NavigationPath variable so I can modify it anywhere.
I tried to put it inside the root view as a State variabl...
Baltic asked 15/12, 2022 at 8:31
3
Solved
On iOS 15, an app with a NavigationView with .inline mode no longer shows the blurry material color you would see for the navigation bar.
Example code:
struct ContentView: View {
var body: some Vi...
Springs asked 23/6, 2021 at 21:5
7
Solved
I have a TabView and separate NavigationView stacks for every Tab item. It works well but when I open any NavigationLink the TabView bar is still displayed. I'd like it to disappear whenever I clic...
Thermoelectrometer asked 23/5, 2020 at 10:55
2
Is it possible to not hide the Title in Navigation Bar in search mode using Searchable? Using the code below Title in Navigation Bar is hidden when Search Field is focused.
NavigationView {
}
.s...
Metzler asked 13/4, 2022 at 11:36
2
Solved
My app is working as expected across all iPhone models, but when running on iPad I notice that the my application content, which is wrapped within a NavigationView, only displays in the iPad's side...
Higher asked 16/7, 2022 at 1:45
2
I am getting the following debug message:
"Update NavigationAuthority bound path tried to update multiple times
per frame."
Does anyone know how to resolve the output message?
I can't f...
Azilian asked 26/1, 2023 at 20:51
2
I've added a .toolbar to the top level of a NavigationView that will eventually be used to select items in a list without using swipe gestures (up button, down button, etc.). I also have a .navigat...
Hanahanae asked 18/9, 2020 at 13:26
4
Since installing Xcode 14, I am now getting the following error message printed in my console:
NavigationLink presenting a value must appear inside a
NavigationContent-based NavigationView. Link w...
Margarito asked 12/9, 2022 at 18:49
4
Solved
Given this simple NavigationView:
struct ContentView : View {
var body: some View {
NavigationView {
VStack {
NavigationLink("Push Me", destination: Text("PUSHED VIEW"))
}
}
}
}
Did anyon...
Weatherproof asked 1/8, 2019 at 9:8
5
Solved
When I embed a List grouped into Sections into a NavigationView the section headers become collapsible. I'd like to keep them non-collapsible, just like when the List is not embedded into the Navig...
Frontal asked 14/10, 2020 at 10:4
1
I was working on a more complicated screen with a lots of data and I noticed weird behavior when edit mode is embedded in navigation view.
Following example work as intended - which means text chan...
Acey asked 1/5, 2023 at 19:52
1
Solved
In my app, I want to construct a single background view under my NavigationStack and then show that same background underneath other views that I navigate to via NavigationLinks. I am trying to do ...
Kenwrick asked 30/6, 2023 at 15:54
5
Solved
Any idea on how to apply a specific background color to the bottom toolbar?
NavigationView {
List {
....
}
.toolbar {
ToolbarItem(placement: .bottomBar) {
Button(action: { model.selectTab(tab...
Seamus asked 29/10, 2020 at 0:37
1
Solved
I have the following navigation stack using route to go to differnet views:
import SwiftUI
import FirebaseAuth
import WebKit
enum Route:String, Hashable {
case linkSettings,
linkWallet
}
struct D...
Longwise asked 22/4, 2023 at 11:59
4
I've got a problem with an object not being destroyed when put into the environment and used with a NavigationView. If a view creates an object, creates a NavigationView and inserts the object into...
Epithelium asked 18/12, 2022 at 10:15
0
I want to know when my SwiftUI view has finished it's transition/animation in order to safely present additional views/modals.
Example:
I am in View A showing Sheet A.
Within Sheet A I tap a button...
Regenaregency asked 23/2, 2023 at 12:13
2
Solved
Currently I've a picker included in a Section included in a Form what I'm trying to reach is to align the selected value of the picker to the leading in both iOS 13 and 14, I've tried many solution...
Hut asked 25/5, 2021 at 14:3
2
I have a very simple View with NavigationBar and a List in a VStack. If I scroll up on the list, the list contents will appear behind the NavigationBar with a nice blur effect by default. This beha...
Suggs asked 4/12, 2022 at 22:9
3
Using SwiftUI how do I change the navigation bar's title size? Choosing between a standard or a large title.
Casteel asked 10/3, 2020 at 13:33
1
Solved
I am making an app where the first view the users see is a home screen with buttons that takes them to a second view. One of the second views present the user with a list of items. When the user cl...
Allgood asked 14/1, 2023 at 17:15
3
Solved
When I update a binding property from an array in a pushed view 2+ layers down, the navigation pops back instantly after a change to the property.
Xcode 13.3 beta, iOS 15.
I created a simple demo a...
Poyang asked 11/9, 2021 at 12:25
3
I have looked into many solutions but none of them works. My app navigation flow is
ViewController (UIKit) - pushes to SwiftUI view
This SwiftUI view shows the back bar button for a fraction of se...
Bethesda asked 1/2, 2022 at 16:27
26
Solved
I am new to SwiftUI (like most people) and trying to figure out how to remove some whitespace above a List that I embedded in a NavigationView.
In this image, you can see that there is some white s...
Grenier asked 16/8, 2019 at 1:1
1 Next >
© 2022 - 2025 — McMap. All rights reserved.