All Questions
Tagged with navigationcontroller or uinavigationcontroller
11,891 questions
0
votes
1
answer
246
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()
...
2
votes
1
answer
564
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
1
answer
850
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
0
answers
113
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
0
answers
31
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 ...
1
vote
1
answer
173
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
0
answers
43
views
UITabController navigation out of sync
I'm encountering an odd issue with my UITabController where my selected tab in the tab bar is out of sync with the tab displayed. Essentially I am building an iOS app in SwiftUI with navigation built ...
0
votes
0
answers
189
views
First item in UITabBarController's 'More' tab not showing up properly when using storyboard and run on device with ios 18.0
Problem with "More" Tab in UITabBarController on iOS 18
I'm working on an iOS application using Objective-C and UITabBarController. I have more than five tabs, so the additional ones are ...
0
votes
1
answer
900
views
How to show new iPadOS 18 tab bar inside navigation bar?
With the new iOS 18 tab bar, it now shows at the top to supposedly save space. But, I have my UITabBarController shown from a UINavigationController, so I have a navigation item at the top with a back ...
0
votes
1
answer
80
views
Spatial navigation fo tizen app development
I m developing an sdk for samsung on tizen platform. I m facing issues related with spatial navigation. Can anyone suggest a robust library for spatial navigation.
i ask chatgpt and google but it didn'...
-2
votes
1
answer
74
views
How to add animation while navigate views when tap on button in SwiftUI
How to get animation like this
Code: with this code i am able to navigate views normally but if i am in AttendanceSwipeView(viewModel: viewModel) then if i tap on Dashboard then view should come with ...
0
votes
0
answers
70
views
Can't remove back button title, nor change tint color when pushing UIViewController from SwiftUI view via UIViewControllerRepresentable
I have a SwiftUI NavigationView and a SwiftUI view displayed in SwiftUI. The navigation link refers to a UIViewControllerRepresentable wrapping a UIViewController. I have been unable to remove the ...
1
vote
0
answers
59
views
Is there a way we can use same navController in two different navHost in android jetpack for type safe navigation
I am using a bottom navigation in android jetpack
@Composable
fun BottomNavigationBar() {
val navController = rememberNavController()
var navigationSelectedItem by remember { mutableStateOf(...
-3
votes
1
answer
338
views
Is it possible to change navigation bar background color for a specific view controller in UINavigationController?
I have a UINavigationController Stack like this :
UINavigationController -> RootViewController-> OtherControllers->...
I wanna the UINavigationBar background color
set to red color when ...
0
votes
1
answer
51
views
Navigate to home page from its dynamic page
I have below code where i got all details in my dynamic page. when I hit nav back its taking me all the way back to app home screen, looking for solution to go to initial page withoutout dynamic page ...
0
votes
1
answer
69
views
Application forgets current View Controller and tableview after alert controller tapped in Swift
I am running into issues where my app seems to forget the current View Controller and its properties--namely a tableView--after launching an AlertController with Action methods.
For example, after ...
0
votes
0
answers
41
views
What's difference between passed navigation controller and created navigation controller?
Each UIViewController has a UINavigationController:
// case1
A_viewController.navigationController
// case2
let B_viewController = B_ViewController(navController: A_viewController....
0
votes
0
answers
37
views
App launch icon click causes all activities to be destroyed
In our app, there are several activities.
When the user opens MainActivity-> EventActivity-> EventRegsiterActivity, and then clicks the home button we have an inconsistency behaviour.
When the ...
0
votes
0
answers
56
views
Swift arabic version, delaying happening after click back or push a view controller, in the navigation bar
After changing language from English to arabic the application has a delay in the navigation,
the implication implemented with Combine and there is a Language Manager file when changing the
language ...
-1
votes
1
answer
30
views
performSegue() works to show (push) either of two UIViewControllers, but one has nil navigationController
I have a UIViewController that is in a navigation stack. There are two different segues that can be triggered from this UIViewController using:
performSegue(withIdentifier: "SomeIdentifier",...
2
votes
2
answers
263
views
iOS UITableView content goes under UINavigationBar weird bug when inputAccessoryView containing UITextView shows keyboard
I have the following example which shows the issue.
I basically want to show a UI similar to iMessage where a UITextView is present at the bottom for typing the message.
Once the keyboard is shown in ...
0
votes
0
answers
140
views
passing date value in navigation-compose
I'm trying to create an application with 2 pages with jetpack compose On the first page users would enter their sign-in information such as first name, last name, id, and date of birth, and then on ...
0
votes
1
answer
125
views
iOS UINavigationController How to push view controller from left to right when showing right to left languages
I am planning to localize my iOS application where I have a lot of Navigation controllers and a Home Tab car controller as well.
how do I support navigations from left to right (push view controller ...
1
vote
1
answer
924
views
How to get a UIViewController from a SwiftUI View in a UIKit Navigation Controller
In my SwiftUI/UIKit project, we're using UIKit's Navigation Controller for navigation. Currently, I have a function that gets a UIViewController from a SwiftUI View:
func popTo<T: View>(viewType:...
1
vote
0
answers
333
views
My navigation bar's large title is too large getting truncate
I am using navigation controller, and I've set to true its navigation bar's prefersLargeTitle property. Everything works fine, but when the text of my title is too large, it doesn't fit in space. Here ...