Create yours custom segue: subclass UIStoryboardSegue
and in -perofrm
implement opening first tab and pushing SecondViewController.
- (void) perform
{
SecondTabViewController* stvc = self.sourceViewController;
UITabBarController* tbc = stvc.navigationController.tabBarController;
UINavigationViewController* nvc = tbc.viewControllers.firstObject;
tbc.selectedViewController = nvc;
[nvc pushViewController:self.destinationViewController animated:YES];
}