问题
I put Navigation bar inside UICollectionView in swift 4.
When I scroll the collectionView, it does not goes to back layer and it overlaps to Navigation Bar.
self.collectionview.contentInset = UIEdgeInsetsMake(40, 0, 0, 0)
I also write this code but it does not work. I also unselect the "Under Top Bars" in Extend Edges in Attributes Inspector.
All the ways do not work.
Can anyone help me please?
来源:https://stackoverflow.com/questions/46376475/uinavigationbar-does-not-overlap-to-uicollectionview-in-swift-4