I have an app in portrait, in my View Controller (`UIViewController`, not a `UITableViewController`) there is a table (`UITableView`) that only occupies half the screen. 
I set the delegate and datasource of my table view to my view controller.

Now, I would like to show a detail view when i select any cell of my table. Here is what I tried but nothing appears:

```
-(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {

NSLog(@"SELECTED");

//ChangeView

DetailViewController *dvController = [[DetailViewController alloc]
initWithNibName:@"DetailViewController" bundle:nil];

[self.navigationController pushViewController:dvController animated:YES];
dvController = nil;

}

```

Any idea? Is this solution better than a popup solution?