Skip to content

Commit 0903452

Browse files
authored
(ios): fix regression in 2706f34 (apache#715)
Fix merging issue from apache#656 Closes apache#714
1 parent 04ce789 commit 0903452

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/ios/CDVWKInAppBrowser.m

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1244,15 +1244,6 @@ - (UIInterfaceOrientationMask)supportedInterfaceOrientations
12441244
return 1 << UIInterfaceOrientationPortrait;
12451245
}
12461246

1247-
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
1248-
{
1249-
if ((self.orientationDelegate != nil) && [self.orientationDelegate respondsToSelector:@selector(shouldAutorotateToInterfaceOrientation:)]) {
1250-
return [self.orientationDelegate shouldAutorotateToInterfaceOrientation:interfaceOrientation];
1251-
}
1252-
1253-
return YES;
1254-
}
1255-
12561247
- (void)viewWillTransitionToSize:(CGSize)size withTransitionCoordinator:(id<UIViewControllerTransitionCoordinator>)coordinator
12571248
{
12581249
[coordinator animateAlongsideTransition:^(id<UIViewControllerTransitionCoordinatorContext> context)

0 commit comments

Comments
 (0)