Skip to content

Commit

Permalink
LukeIS on behalf of JasonCarr: set the Root ViewController differentl…
Browse files Browse the repository at this point in the history
…y for iOS 6 so that rotation continues to work. Fixes Issue 4696

r17994
  • Loading branch information
lukeis committed Oct 23, 2012
1 parent 35d56d6 commit 9c5e07b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iphone/src/objc/Classes/iWebDriverAppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ @implementation iWebDriverAppDelegate
- (void)applicationDidFinishLaunching:(UIApplication *)application {
CGRect rect = [[UIScreen mainScreen] bounds];
[window_ setFrame:rect];
[window_ addSubview:[rootViewController_ view]];
[window_ setRootViewController:rootViewController_];
[window_ makeKeyAndVisible];
}

Expand Down

0 comments on commit 9c5e07b

Please sign in to comment.