Skip to content

Commit

Permalink
DaveHunt: Load a blank HTML document by default to prevent scrolling …
Browse files Browse the repository at this point in the history
…issues when rotating.

r16012
  • Loading branch information
davehunt committed Feb 27, 2012
1 parent dffdd6f commit be98855
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions iphone/src/objc/Classes/MainViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ - (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
- (void)viewDidLoad {
[super viewDidLoad];
singleton_ = self;
[webViewController.webView loadHTMLString:@"" baseURL:nil];
}

// Override to allow orientations other than the default portrait orientation.
Expand Down

0 comments on commit be98855

Please sign in to comment.