From 090345248cb99f09c8fb9562787333e5dd334c9d Mon Sep 17 00:00:00 2001 From: Niklas Merz Date: Fri, 5 Jun 2020 15:23:10 +0200 Subject: [PATCH] (ios): fix regression in 2706f34 (#715) Fix merging issue from #656 Closes #714 --- src/ios/CDVWKInAppBrowser.m | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/ios/CDVWKInAppBrowser.m b/src/ios/CDVWKInAppBrowser.m index 3a2ecf8..1ec2065 100644 --- a/src/ios/CDVWKInAppBrowser.m +++ b/src/ios/CDVWKInAppBrowser.m @@ -1244,15 +1244,6 @@ BOOL isExiting = FALSE; return 1 << UIInterfaceOrientationPortrait; } -- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation -{ - if ((self.orientationDelegate != nil) && [self.orientationDelegate respondsToSelector:@selector(shouldAutorotateToInterfaceOrientation:)]) { - return [self.orientationDelegate shouldAutorotateToInterfaceOrientation:interfaceOrientation]; - } - - return YES; -} - - (void)viewWillTransitionToSize:(CGSize)size withTransitionCoordinator:(id)coordinator { [coordinator animateAlongsideTransition:^(id context)