TLYShyNavBar icon indicating copy to clipboard operation
TLYShyNavBar copied to clipboard

UICollectionView isn't inset correctly while UIScrollView works fine

Open fruitcoder opened this issue 9 years ago • 0 comments

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: screen shot 2016-10-19 at 15 48 03 Correct inset with UIScrollView.

screen shot 2016-10-19 at 15 47 19 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?

fruitcoder avatar Oct 19 '16 14:10 fruitcoder