TLYShyNavBar
TLYShyNavBar copied to clipboard
UICollectionView isn't inset correctly while UIScrollView works fine
Hey :)
Thank you for this awesome library! I'm currently facing a weird issue in my project using the shyNavBar in combination with a UIPageViewController and UICollectionViews (being nested in the pages). The weird thing is that it works great if I use UIScrollViews instead of UICollectionViews. I isolated the problem in an example project that you can download here.
These screenshots show the problem:
Correct inset with UIScrollView.
Wrong inset with UICollectionView.
The setup is identical (I think) so could it be that the collectionViewLayout interferes with the insets/offset in any way?