I’m new to ios programming and I can’t figure this out. I have a view-based application with a navigation bar and a “custom” bar under the navigation bar (An image with two UIButtons on it). Under this two bars I have two UIViews that must be shown at the press of the corresponding button on the “custom” bar, but the top bars must remain the same the whole time.
Do you have any ideas how to do this?
You can simply add both the views to your viewControllers subview and use the hidden property of the views to show/hide the correct view.