From fe5c907f04c7514ab19ef0f4df6806002cf7c6ac Mon Sep 17 00:00:00 2001 From: Sviluppo Demo Date: Fri, 24 Apr 2015 17:37:18 +0200 Subject: [PATCH] FIX rotation Fix the 2nd view rotation on iOS 8.3 --- src/ios/WebscreenViewController.m | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/ios/WebscreenViewController.m b/src/ios/WebscreenViewController.m index b41cac2..19df4a5 100644 --- a/src/ios/WebscreenViewController.m +++ b/src/ios/WebscreenViewController.m @@ -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 {