I have two UIViewController's that are StoryBoards. Let's say they are FirstVC and SecondVC. From FirstVC I want to present SecondVC with the following code.
UIViewController *secondVC;
secondVC = [self.storyboard instantiateViewControllerWithIdentifier:@"secondVC"];
[self.firstVC presentViewController: secondVC animated:YES completion:nil];
Now in StoryBoard I have embedded secondVC in a NavigationController, however, when presented, secondVC is missing the NavigationBar.
firstVC and secondVC are not connected via StoryBoard as I want to present them with code.
Am I missing something or have I done this the wrong way?
