I have a little problem with segues in my application. I am trying to use a manual push segue. But the navigation item / controller / panel is not displayed on the target controller. When I use the button and go to the target view controller with this button, the navigation bar is displayed: /
My code is simple:
[self performSegueWithIdentifier:@"MySegue" sender:self];
MySegue is a push segue from the UINavigationController root view controller to the target controller.
He didn’t even work with this
UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@"Storyboard" bundle:[NSBundle mainBundle]]; UIViewController *controller = [storyboard instantiateViewControllerWithIdentifier:@"TargetViewController"]; [self.navigationController pushViewController:controller animated:YES];
and even if I set the top bar (navigation element) in the history help bar
thanks for any help :)
source share