The program has a navigation bar and usually when you click a button in viewController1, it goes to viewController2. when a button is clicked in viewController2, it goes to viewController3. and the user can go back from viewController3 to viewController2, and then to viewController1, using the back button in the navigation bar.
I want to make a button that programmatically takes the user directly viewController3 from viewController1. then the user can switch from viewController3 to viewController2 to viewController1.
Is there a way to move two views to the navigation controller? or is this another way to achieve the desired behavior? How can I do it?
objective-c iphone uinavigationcontroller
Yazzmi
source share