diff --git a/ZFPlayer/Classes/Core/ZFLandscapeRotationManager_iOS15.m b/ZFPlayer/Classes/Core/ZFLandscapeRotationManager_iOS15.m index ef6e3b7b..10d628e7 100644 --- a/ZFPlayer/Classes/Core/ZFLandscapeRotationManager_iOS15.m +++ b/ZFPlayer/Classes/Core/ZFLandscapeRotationManager_iOS15.m @@ -128,10 +128,7 @@ - (void)rotationFullscreenViewController:(ZFLandscapeViewController *)viewContro } - (UIInterfaceOrientationMask)supportedInterfaceOrientationsForWindow:(UIWindow *)window { - if (window == self.window) { - return 1 << self.currentOrientation; - } - return UIInterfaceOrientationMaskPortrait; + return UIInterfaceOrientationMaskAllButUpsideDown; } @end