Skip to content

Commit

Permalink
(ios): fix regression in 2706f34 (#715)
Browse files Browse the repository at this point in the history
Fix merging issue from #656

Closes #714
  • Loading branch information
NiklasMerz authored Jun 5, 2020
1 parent 04ce789 commit 0903452
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/ios/CDVWKInAppBrowser.m
Original file line number Diff line number Diff line change
Expand Up @@ -1244,15 +1244,6 @@ - (UIInterfaceOrientationMask)supportedInterfaceOrientations
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<UIViewControllerTransitionCoordinator>)coordinator
{
[coordinator animateAlongsideTransition:^(id<UIViewControllerTransitionCoordinatorContext> context)
Expand Down

0 comments on commit 0903452

Please sign in to comment.