From 2dd5025190c43f46ee937faee0c4e7127448b444 Mon Sep 17 00:00:00 2001 From: Jens Andersson Date: Tue, 9 Jun 2020 12:35:18 +0200 Subject: [PATCH] Revert "[ios] Adaptive fullscreen in landscape by device orientation (#1862)" (#2043) This reverts commit c9096d16f7a961ed26f73d88a0bdefe8c42a1c47. --- ios/Video/RCTVideoPlayerViewController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ios/Video/RCTVideoPlayerViewController.m b/ios/Video/RCTVideoPlayerViewController.m index 8319f6d8..548a06ce 100644 --- a/ios/Video/RCTVideoPlayerViewController.m +++ b/ios/Video/RCTVideoPlayerViewController.m @@ -28,7 +28,7 @@ - (UIInterfaceOrientation)preferredInterfaceOrientationForPresentation { if ([self.preferredOrientation.lowercaseString isEqualToString:@"landscape"]) { - return UIInterfaceOrientationLandscapeLeft | UIInterfaceOrientationLandscapeRight; + return UIInterfaceOrientationLandscapeRight; } else if ([self.preferredOrientation.lowercaseString isEqualToString:@"portrait"]) { return UIInterfaceOrientationPortrait;