diff --git a/Classes/echoprintAppDelegate.mm b/Classes/echoprintAppDelegate.mm index 500aa52..d9cb0c3 100755 --- a/Classes/echoprintAppDelegate.mm +++ b/Classes/echoprintAppDelegate.mm @@ -23,7 +23,7 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:( // Override point for customization after application launch. // Add the view controller's view to the window and display. - [self.window addSubview:viewController.view]; + [window setRootViewController:viewController]; [self.window makeKeyAndVisible]; return YES;