I have multiple navigation controllers in my storyboard which handle the back buttons. I also have a swipe method
- (void)swipedScreenRight:(UISwipeGestureRecognizer*)swipeGesture
{
NSLog(@"swipedScreenRight");
[masterViewController.navigationController popViewControllerAnimated:YES];
}
From the first view to the second view I can swipedScreenRight and the view slides back to the first view. I go from the first, to one of the three views on the third level of the navigation, I can press back or swipedScreenRight and return to the second view. I cannot swipe back to the first view, I can only press back. How can I make it swipe from the second view after visiting the third?