This snippet of IOS code used to work prior to IOS 7 to push a new window. It does not anymore

```
 ViewController *secondView = [[ViewController alloc]
                        initWithNibName:@"ViewController"bundle:nil];
   [[self navigationController] pushViewController:secondView animated:YES];

```

Why doesn't this work anymore?

-------EDIT-----
This is the nav controller in didFinishLaunchingwWthOption

```
 self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
 self.launchViewController = [[LaunchViewController alloc] 
          initWithNibName:@"LaunchViewController" bundle:nil];
self.window.rootViewController = self.LaunchViewController;
[self.window makeKeyAndVisible];
return YES;

```

-------EDIT----------

The first time I invoke [self addNewView] the view does not appear, with no errors in the console or crashes, I added a button and if on the button press I invoke [self addNewView] the view appears, if I navigate with the back button, I have to tap back twice to return to the initial view. So the view is being created but not shown. Any hints on what could be the problem?