Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom Headers are not working #14

Open
yugeshm opened this issue Aug 22, 2017 · 0 comments
Open

Custom Headers are not working #14

yugeshm opened this issue Aug 22, 2017 · 0 comments

Comments

@yugeshm
Copy link

yugeshm commented Aug 22, 2017

I am using a this library to displays a CollectionView as an asymmetric grid layout.

I am trying to create custom section headers between multiple grids, however the section headers are not displaying even though it creates an empty white space. I am looking to achieve something like this:

section-wise-grid

Here is my code:

- (CGSize)collectionView:(UICollectionView *)collectionView layout:(UICollectionViewLayout*)collectionViewLayout referenceSizeForHeaderInSection:(NSInteger)section {
return CGSizeMake(320, 60);
}
@yugeshm yugeshm changed the title Custome Headers are not working Custom Headers are not working Sep 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant