Skip to content

Wrong collectionViewContentSize #41

@ftp27

Description

@ftp27

I use UICollectionView with NHBalancedFlowLayout inside another UICollectionView because I must get the height of content in NHBalancedFlowLayout by this code:

[((NHBalancedFlowLayout *) self.filesList.collectionViewLayout) prepareLayout];
CGFloat collectionSize = [((NHBalancedFlowLayout *) self.filesList.collectionViewLayout) collectionViewContentSize].height;

But this function returns 0. How can I get the real size of content?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions