So i have an app in which i use starboard. My main navigation is done by tab bar controller. Now i want to be able to switch multiple views in one tab. I know how to do this with navigation controller and buttons, but cant figure it out how to use gestures for it …
My build looks like these:
tabbar controlller ->view controller ->some view
//here i want to use gestures
tabbar controlller ->view controller->view one->view two
So i want to be able to make gesture and move from view one to view two.
I know i/m newmbie but i tryied really hard to find a solution.
What have you tried? Did you set up a gesture recognizer and upon recognizing the gesture, present your next view modally? Seems straight forward…
Try this setup:
Your view that recognizes the gesture:
rootViewController–>tabBarController–>ViewControllerWithGestureRecognizer
When the gesture is recognized, pop the tabbarController and load your first of two views:
rootViewController–>firstView
That view may have another gesture recognizer, or some way to navigate to your second view or back to the tabbarController…