I make a tower call like this:
- (void)showViewWithSegueIdentifier:(NSString *)segueIdentifier { [self.navigationController.navigationController.topViewController performSegueWithIdentifier:segueIdentifier sender:self]; } I tried to catch it like this, but it didn’t work, because export comes from another controller:
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender { NSLog(@"Call"); } How can this be fixed?
What it looks like:
I have a NavigationController> MainViewController, which has a Container View. Container View can> NavigationController> MenuViewController. Inside this container View, I inserted a Menu with buttons that open a new view.