I am a new iOS developer developing my first iPhone app on commission.
I am a little unsure as to the correct way of navigating between a hierarchy of view controllers on two levels. I am navigating between 5 view controllers at the first level using a toolbar with a UINavigationController.
I need one of my toolbar buttons at this top level to navigate to any one (which one is determined by previous user activities at this level) of 6 related view controllers which should be at the same level (level 2). Within these view controllers the toolbar should then provide buttons for transferring control to each of the other view controllers at this level, but without pushing them onto the navigation controller stack underneath the previously viewed view controller at this level. ie I want the nav controller back button to go straight back to the top level however many of the second level view controllers have been viewed. How do I do this?
I hope my question is understandable. No doubt the answer is simple. Any advice gratefully received.