From 096b6d7f2adc276e30db05005832b247388edec4 Mon Sep 17 00:00:00 2001 From: Keith Reynolds Date: Thu, 2 Jun 2016 22:46:42 -0400 Subject: [PATCH] Update to support Xcode 7 fixing: Application windows are expected to have a root view controller at the end of application launch --- Examples/ExpanderDemo/Classes/ExpanderDemoAppDelegate.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Examples/ExpanderDemo/Classes/ExpanderDemoAppDelegate.m b/Examples/ExpanderDemo/Classes/ExpanderDemoAppDelegate.m index e767fc4..2b0d3c6 100644 --- a/Examples/ExpanderDemo/Classes/ExpanderDemoAppDelegate.m +++ b/Examples/ExpanderDemo/Classes/ExpanderDemoAppDelegate.m @@ -53,7 +53,7 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:( // Override point for customization after application launch. viewController.view.frame = [[UIScreen mainScreen] applicationFrame]; - [window addSubview:viewController.view]; + [window setRootViewController:viewController]; [window makeKeyAndVisible]; return YES; }