Skip to content

Commit

Permalink
Revert "[ios] Adaptive fullscreen in landscape by device orientation (#…
Browse files Browse the repository at this point in the history
…1862)"

This reverts commit c9096d1.
  • Loading branch information
jenshandersson authored Jun 9, 2020
1 parent c9096d1 commit 96146b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/Video/RCTVideoPlayerViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ - (UIInterfaceOrientationMask)supportedInterfaceOrientations {

- (UIInterfaceOrientation)preferredInterfaceOrientationForPresentation {
if ([self.preferredOrientation.lowercaseString isEqualToString:@"landscape"]) {
return UIInterfaceOrientationLandscapeLeft | UIInterfaceOrientationLandscapeRight;
return UIInterfaceOrientationLandscapeRight;
}
else if ([self.preferredOrientation.lowercaseString isEqualToString:@"portrait"]) {
return UIInterfaceOrientationPortrait;
Expand Down

0 comments on commit 96146b9

Please sign in to comment.