Skip to content
Permalink
Browse files
(ios): fix regression in 2706f34 (#715)
Fix merging issue from #656

Closes #714
  • Loading branch information
NiklasMerz committed Jun 5, 2020
1 parent 04ce789 commit 090345248cb99f09c8fb9562787333e5dd334c9d
Showing 1 changed file with 0 additions and 9 deletions.
@@ -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)

0 comments on commit 0903452

Please sign in to comment.