Answer the question
In order to leave comments, you need to log in
How to keep navigationBar in UITabBarController?
Good day.
The essence is this: the "framework" of the application is UITabBarController.
It has a top menu. So, in order not to produce buttons every time during the transition, how to create them once, and then use them in other views?
Thank you in advance.
Answer the question
In order to leave comments, you need to log in
Options:
- a custom navigationController that sets up items on push
- a custom navigationBar that does pretty much the same
- a custom viewController that overrides the navigationItem and returns a custom one.
Each option has its pros and cons.
But if these buttons do not belong to the current controller, but to the application as a whole, then it is more logical to override the tabBarController, in which to resize the childView and add your own navigationBar.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question