Skip to content
This repository was archived by the owner on Dec 4, 2018. It is now read-only.
This repository was archived by the owner on Dec 4, 2018. It is now read-only.

UICollectionView isn't inset correctly while UIScrollView works fine #164

@fruitcoder

Description

@fruitcoder

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions