Skip to content

Commit

Permalink
FIX rotation
Browse files Browse the repository at this point in the history
Fix the 2nd view rotation on iOS 8.3
  • Loading branch information
engbmsdev committed Apr 24, 2015
1 parent a508197 commit fe5c907
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/ios/WebscreenViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -65,17 +65,16 @@ - (void)viewDidAppear:(BOOL)animated

[self.delegate webscreenReady: self.sid];
}
/*

- (NSUInteger)supportedInterfaceOrientations
{
return UIInterfaceOrientationMaskLandscape;
return UIInterfaceOrientationMaskPortrait;
}

- (BOOL)shouldAutorotate
{
return NO;
}
*/

- (void)webView:(UIWebView *)webView didFailLoadWithError:(NSError *)error
{
Expand Down

0 comments on commit fe5c907

Please sign in to comment.