Hi all,
I have a UINavigationController. In the 2nd level of my hierarchy, I want to show a view controller with a toolbar in which I inserted a segmented control. Through it the user can select between two "views" of the same page that we can call A and B (like in the Calendar application).
When the user press the A segment, the A view must be shown. When the user press the B segment, the B view must be shown.
A and B are complex views, so I prefer to manage them in two separate view controllers called AViewController and BViewController.
Initially I had thought to insert AViewController and BViewController in a UITabBarViewController, but in the pushViewController:animated: official documentation I read that the pushed view controller "cannot be an instance of tab bar controller."
Do you know how can I switch between AViewController and BViewController without using the UITabBarViewController?
Thank you very much!