Skip to content

Commit

Permalink
转屏修改
Browse files Browse the repository at this point in the history
  • Loading branch information
renzifeng committed Sep 19, 2022
1 parent 258ad5c commit dd52b42
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions ZFPlayer/Classes/Core/ZFLandscapeRotationManager_iOS15.m
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit dd52b42

Please sign in to comment.