Thank you Bonnie for telling me what to do. Indeed the prepare for segue method is the way to go.
I'm just clarifying the code and steps here.
So first off, name the segue(link) in the storyboard that connects the container view to its first view controller. I named mine "toContainer".
Then in the view controller containing the container view add this method
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender
{
if ([segue.identifier isEqualToString: @"toContainer"]) {
UINavigationController *navViewController = (UINavigationController *) [segue destinationViewController];
UIViewController *vc2 = [navViewController viewControllers][0];
}
}
So vc2 was the controller I wanted to get reference to.
This worked for me, your method would be slightly different inside the prepareForSegue if your first viewconroller wasn't a navigation controller.