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

屏幕旋转时没有正确处理 #175

Open
johnil opened this issue Apr 18, 2020 · 3 comments
Open

屏幕旋转时没有正确处理 #175

johnil opened this issue Apr 18, 2020 · 3 comments

Comments

@johnil
Copy link

johnil commented Apr 18, 2020

四个问题:

  1. browserView.isRotating 没有被正确重置
  2. 旋转后没有针对 contentOffset 复位
  3. 当 browser 被嵌套在 UINavigationController 里被 present 出来的时候, JXPhotoBrowserSmoothZoomAnimator 的动画里有一个 insert maskView 操作,该操作针对的 toView 其实是 UINavigationController 的。导致始终画面黑屏。
  4. resetContentSize 最好根据 bounds 的宽高进行计算。
@JiongXing
Copy link
Owner

感谢大佬指点,我尽快优化。

@JiongXing
Copy link
Owner

你好,我刚更新了代码,版本3.1.0,解决了第3点问题。
其余1、2、4还有疑惑,未能准确找到原因,有可能的话还请再指教一下解决方案,感谢

@liangdahong
Copy link
Contributor

旋转问题感觉不好处理啊 ?😂

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