From 2ce16125d7f2c454b7bcceb37882cdcd356527c2 Mon Sep 17 00:00:00 2001 From: Senthil Sivanath Date: Fri, 8 Apr 2016 20:54:33 +0530 Subject: [PATCH] XCode 7 and iOS 9 compatibility fix For XCode 7 and iOS 9 --- Classes/echoprintAppDelegate.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;