From bff9f45a685684f107585c3b743f7fab011f1bc6 Mon Sep 17 00:00:00 2001 From: Brad Larson Date: Sun, 3 Apr 2016 12:46:57 -0500 Subject: [PATCH] Fix per pull request #2099. --- .../SimpleImageFilter/SimpleImageAppDelegate.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/iOS/SimpleImageFilter/SimpleImageFilter/SimpleImageAppDelegate.m b/examples/iOS/SimpleImageFilter/SimpleImageFilter/SimpleImageAppDelegate.m index 65019b6c8..8f63db4a7 100755 --- a/examples/iOS/SimpleImageFilter/SimpleImageFilter/SimpleImageAppDelegate.m +++ b/examples/iOS/SimpleImageFilter/SimpleImageFilter/SimpleImageAppDelegate.m @@ -11,7 +11,7 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:( self.window.backgroundColor = [UIColor whiteColor]; rootViewController = [[SimpleImageViewController alloc] initWithNibName:nil bundle:nil]; - [self.window addSubview:rootViewController.view]; + [self.window setRootViewController:rootViewController]; [self.window makeKeyAndVisible]; return YES;