780 questions
5 votes
1 answer
2k views
Back button ignores AccentColor in NavigationView iOS 26
I’m reviewing my apps for iOS 26 and noticed a UI change. In previous iOS versions, when I defined an AccentColor in the Asset Catalog, the back button in a NavigationView automatically adopted that ...
0 votes
0 answers
48 views
NavigationView covering full screen when creating navigation drawer
I'm trying to create a navigation drawer in Android Studio. However, the NavigationView view in the XML file takes up the whole screen and prevents me from viewing the Toolbar and other features. How ...
0 votes
0 answers
43 views
SwiftUI NavigationLink automatically pops when requesting Contacts permission (iOS 18)
When push a new page using navigationview and request contact permission before system alert appear. The page pop by itself. How to solve the problem. Tried push this page, fullscreenover this page, ...
1 vote
2 answers
190 views
WinUI Changed NavigationView Content Background
I'm trying to change the background of the NavigationView Frame or content. I set the background to Acrylic, and the Frame in the NavigatioView is not the same color as the NavigatioViewItem in the ...
0 votes
1 answer
513 views
How to create multi-view deep NavigationView in SwiftUI?
I am creating an onboarding flow for an iOS app with the UI written in SwiftUI SwiftUI has a NavigationView UI component that uses NavigationLinks to enable a user to move to the next view However, ...
2 votes
0 answers
98 views
SwiftUI toolbar bug inside NavigationView
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 ...
1 vote
0 answers
134 views
Navigating to swiftui view from push notification
I have a multiple root navigationView in swiftui view, I am setting the root based on a state variable, the issue is that when I am navigating to a screen from a push notification click and then click ...
0 votes
1 answer
198 views
NavigationView .navigationBarBackButtonHidden not working on the first run
Hokahey, I've tried setting navigationBarBackButtonHidden(true), but it doesn't work for me as expected. I'm trying to add a custom NavigationView Toolbar on the second screen. When I select the first ...
-1 votes
1 answer
93 views
In SwiftUI,should the NavigationView be inside the TabView or outside?Both have problems
When the NavigationView is placed outside the TabView, dismissing a sheet may cause an error view to be displayed. (In SwiftUI, when the MyView popup sheet then dismissed, the MyView should be ...
1 vote
1 answer
64 views
SwiftUI Why navigationTitle does not scroll with List
There is a toolbar button to change the viewStyle in ContentView. When the viewStyle is changed, MyPage will regenerate the List based on the viewStyle. However, after generation, the distance between ...
1 vote
0 answers
24 views
Menu item of NavigationView doesn't get checked if it was the last item checked
I have a menu with a few items, which are displayed or hidden depending on if the user is logged in. If the user has logged in, I show an item option to sign out. When this happens, I launch the home ...
1 vote
1 answer
633 views
Setting sidebar width constraints in visionOS NavigationView
I'm aware it's possible to manipulate sidebar width for a NavigationSplitView like this.- NavigationSplitView { Text("Sidebar") .navigationSplitViewColumnWidth(min: 100, ideal: ...
0 votes
1 answer
262 views
SwiftUI List navigation title font and padding update?
I'm trying to change the font and padding on the title ("My Title")? So i'm setting the .navigationTitle to have the nice List behavior where as you scroll past the title, it updates the ...
0 votes
3 answers
317 views
In SwiftUI, when the MyView popup sheet then dismissed, the MyView should be displayed instead of ListView
Here is three view,ContentView,ListView and MyView。Click first bottom icon show ListView,then click NavigationLink display MyView.Click the button display sheet,dismiss the sheet the ListView ...
2 votes
4 answers
1k views
Disable collapsing Sidebar/NavigationSplitView
How to disable sidebar minimization in macOS? In app like App Store, Music, Reminders, Mail, Messages this is disabled. In an app like Feedback Assistant, there is a critical error - after minimizing ...