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

ZLPhotoPreviewController横竖屏切换问题 #874

Open
mellymelon opened this issue Nov 19, 2023 · 1 comment
Open

ZLPhotoPreviewController横竖屏切换问题 #874

mellymelon opened this issue Nov 19, 2023 · 1 comment

Comments

@mellymelon
Copy link

mellymelon commented Nov 19, 2023

ZLPhotoPreviewController里第一张图片在横竖屏切换时会出现第二张图片的残影,其他位置的图片则无此问题。

Library selection > 选中第一张图片进入preview界面 > 切换为横屏 > 再切换为竖屏 > 第二张图片出现了残影。

试着debug了一会儿,虽然只是小问题,但暂时没找到解决办法,只知道第一张图片旋转时第二张和第三张图片的layoutSubviews方法也被调用了。

Simulator.Screen.Recording.-.iPhone.15.-.2023-11-19.at.15.14.16.mp4
@longitachi
Copy link
Owner

这个后面有空了看看吧,目前还没优化思路

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

2 participants