navigationBar毛玻璃效果,automaticallyAdjustsScrollViewInsets = YES#370
Open
hanjian0331 wants to merge 6 commits intobanchichen:masterfrom
hanjian0331:master
Open
navigationBar毛玻璃效果,automaticallyAdjustsScrollViewInsets = YES#370hanjian0331 wants to merge 6 commits intobanchichen:masterfrom hanjian0331:master
hanjian0331 wants to merge 6 commits intobanchichen:masterfrom
hanjian0331:master
Conversation
ios7 右上角按钮显示
This reverts commit ab8b960.
Owner
|
在iOS10的模拟器上看,刚进去的时候会闪一下,先scrollCollectionViewToBottom,然后再被automaticallyAdjustsScrollViewInsets 还有一个问题时,切到相册页面,再回照片列表页,automaticallyAdjustsScrollViewInsets好像就没生效了,最顶上会被遮住了,不知你那是不是这样? |
Owner
|
iOS11及以上还挺好的,只要在self.navigationController.navigationBar.isTranslucent前加个!就行 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
我感觉automaticallyAdjustsScrollViewInsets应该用默认的YES,这样子导航栏有毛玻璃效果,更加像微信的样子,tableView和collectionView也就不用下移44+20,但是我没有旧版的xcode测试iOS8以前的系统