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

ZLThumbnailViewController bottomView 看不见 —— 2.6.8 fixed #244

Closed
kk-vv opened this issue May 10, 2018 · 1 comment
Closed

ZLThumbnailViewController bottomView 看不见 —— 2.6.8 fixed #244

kk-vv opened this issue May 10, 2018 · 1 comment

Comments

@kk-vv
Copy link

kk-vv commented May 10, 2018

ZLThumbnailViewController bottomView 在我的工程里面看不见。
pods和导入源码都不好使,Demo没问题。

后来翻了哈源码,发现我的工程对通过runtime 对 UIViewConttroller统一设置了
self.automaticallyAdjustsScrollViewInsets = false;
self.edgesForExtendedLayout = UIRectEdgeNone;

导致bottomView fame超出屏幕了,有点尴尬😄。
之后在ZLThumbnailViewController添加了

self.automaticallyAdjustsScrollViewInsets = true;
self.edgesForExtendedLayout = UIRectEdgeAll;

@longitachi
Copy link
Owner

多谢帮解决这个问题 #238

@longitachi longitachi changed the title ZLThumbnailViewController bottomView 看不见 ZLThumbnailViewController bottomView 看不见 —— 2.6.8 fixed May 10, 2018
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