Skip to content

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.

2 participants