11,892 questions
1
vote
1
answer
33
views
iOS 26 - Swipe to dismiss in a navigation controller by starting the swipe at the left edge of the screen and not center of screen
In my app you can swipe from left-to-right on the left edge of the screen to dismiss a UIViewController in a UINavigationController.
But now in iOS 26, you can start the swipe from anywhere on the ...
-3
votes
1
answer
57
views
How can we disable swipe back to dismiss a UIViewController in iOS 26? (UIKit)
This doesn't work anymore on iOS 26 to disable swipe back in a navigation controller:
interactivePopGestureRecognizer.isEnabled = false
How can we disable swipe back to dismiss a UIViewController in ...
0
votes
1
answer
271
views
UINavigationController with custom navigationItem titleView not working inside UITabBarController under iOS 26
I've sample code for the reference which works fine prior iOS 26 but not in iOS 26.
class SampleViewController: UIViewController {
override func viewDidLoad() {
super.viewDidLoad()
...
4
votes
2
answers
1k
views
Navigation item title hidden when using large title in iOS26
After updating my app for iOS 26, the navigation item title stopped working when using large title and scrolling. Before the update, the large title was shown and when scrolled up, the normal small ...
2
votes
1
answer
600
views
iOS 26 Disable UINavigationBar titleView automatic color inversion [closed]
Is it possible to disable automatic color inversion in iOS 26 UINavigationBar which triggered by the system depending on background? Can't find any new method in documentation for that.
This is for ...
1
vote
2
answers
1k
views
Navigation bar back button “jumps” on first push from TabBar root on iOS 26 Beta
Short description / problem
When I push from a tab bar root navigation controller to a new screen, the navigation bar back button jumps (moves out of place) briefly during the push animation and then ...
1
vote
1
answer
876
views
Remove corner radius during push navigation transition in iOS 26
In iOS 26, when using NavigationStack or regular UINavigationController push transitions, there’s a new default animation that adds a corner radius to the incoming view.
This corner radius breaks ...
0
votes
1
answer
61
views
How to apply Content ViewController background to bottom SafeArea in UINavigationController?
While porting my existing UIKit based app to SwiftUI I struggle with a simple task:
A UIViewControllerRepresentable holds a UINavigationController.
The UINavigationController displays VCs with ...
0
votes
0
answers
119
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 ...
0
votes
1
answer
37
views
How can I add a header in an UINavigationBar in iOS APP
I was asked to add an image (like a banner) above the current UINavigationBar. I have tried several solutions, but I haven't been able to achieve the desired result. What I want is something like the ...
0
votes
0
answers
35
views
How to animate a custom back button to the default back button in UINavigationBar?
I would like to replicate the back button transition seen in apps like the App Store or Apple Music. Specifically, I want to animate a custom-shaped back button into the default back button during ...
0
votes
1
answer
70
views
UINavigationController broke SwiftUI Image and AsyncImage
I'm integrating SwiftUI into UINavigationController and encounter weird issue when pushing a UIHostingController containing a long Image or AsyncImage. I want the image to occupy the whole screen ...
1
vote
1
answer
179
views
Change back button image and add a margin in a UIKit NavigationBar
I had a requirement to remove the text of the back button and only leave the back chevron in the navigation bar.
Some options I came across were setting the title of the view control to a string with ...
0
votes
1
answer
56
views
Centre Search Controller in Navigation Bar
I want to add a search bar in the middle of the navigation bar like so :
I was able to achieve the above screen with the following code :
navigationItem.titleView = searchController.searchBar
...
0
votes
0
answers
165
views
UINavigationBar title "bounces" when switching UITabBarController tabs
I'm experiencing a strange issue only on iOS 18 with navigation bar titles (large and normal).
When switching between tabs in a UITabBarController, the title briefly bounces/jumps by a few pixels ...