Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

播放视频横竖屏切换时,有较小的概率切换效果鬼畜 #41

Open
LT13S opened this issue Dec 15, 2023 · 3 comments
Open

Comments

@LT13S
Copy link

LT13S commented Dec 15, 2023

从横屏切换到竖屏时,动画效果不是视频回到原处,而是直接飞出屏幕外,从竖屏切横屏时,动画效果也是先从屏幕外飞到视频处,然后再变成横屏

@leverTsui
Copy link

@LT13S 这个问题,有什么办法可以修复吗?

@leverTsui
Copy link

leverTsui commented Apr 25, 2024

@LT13S 在下面的代码之后
[self initLandscapeScrollView];
UIView *superview = self.rotationManager.contentView.superview;
添加一句代码
self.landscapeScrollView.frame = superview.bounds;
就能够解决鬼畜动画问题。

@hu593877243
Copy link

首次从竖屏切换到横屏的时候默,播放的视频内容从屏幕左下角出现再回到屏幕中间,仅首次的从竖屏切到横屏会出现这个现象

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants