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

navigationBar毛玻璃效果,automaticallyAdjustsScrollViewInsets = YES #370

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

hanjian0331
Copy link

我感觉automaticallyAdjustsScrollViewInsets应该用默认的YES,这样子导航栏有毛玻璃效果,更加像微信的样子,tableView和collectionView也就不用下移44+20,但是我没有旧版的xcode测试iOS8以前的系统

@banchichen
Copy link
Owner

在iOS10的模拟器上看,刚进去的时候会闪一下,先scrollCollectionViewToBottom,然后再被automaticallyAdjustsScrollViewInsets

还有一个问题时,切到相册页面,再回照片列表页,automaticallyAdjustsScrollViewInsets好像就没生效了,最顶上会被遮住了,不知你那是不是这样?

@banchichen
Copy link
Owner

iOS11及以上还挺好的,只要在self.navigationController.navigationBar.isTranslucent前加个!就行

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

Successfully merging this pull request may close these issues.

None yet

2 participants