Editor > Embed In > Navigation Controller
if ([[segue identifier] isEqualToString:@"ShowTelegrafDetails"]){ TelegrafDetailsViewController *details = (TelegrafDetailsViewController*)segue.destinationViewController; NSIndexPath *myIndexPath = [self.tableView indexPathForSelectedRow]; if([self isItPad]) details.linkFromTableView = [[otherNews objectAtIndex:myIndexPath.row] link]; else details.linkFromTableView = [[[myViewController.itemMatrix objectAtIndex:[self calculateCurrentPage]] objectAtIndex:myIndexPath.row] link]; NSLog(@"%@",segue.sourceViewController); NSLog(@"%@",segue.destinationViewController); [self.myViewController.navigationController pushViewController:details animated:YES]; }