Skip to content

Commit bff9f45

Browse files
committed
Fix per pull request BradLarson#2099.
1 parent 9b02aa8 commit bff9f45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/iOS/SimpleImageFilter/SimpleImageFilter/SimpleImageAppDelegate.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
1111
self.window.backgroundColor = [UIColor whiteColor];
1212

1313
rootViewController = [[SimpleImageViewController alloc] initWithNibName:nil bundle:nil];
14-
[self.window addSubview:rootViewController.view];
14+
[self.window setRootViewController:rootViewController];
1515

1616
[self.window makeKeyAndVisible];
1717
return YES;

0 commit comments

Comments
 (0)