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

Not working with iPhone > 6. #6

Open
ppamorim opened this issue Apr 14, 2016 · 1 comment
Open

Not working with iPhone > 6. #6

ppamorim opened this issue Apr 14, 2016 · 1 comment

Comments

@ppamorim
Copy link

The log returns this at line 27:

The relevant UICollectionViewFlowLayout instance is <FullyHorizontalFlowLayout: 0x7f827acdcbc0>, and it is attached to <UICollectionView: 0x7f827b08c000; frame = (0 0; 414 93); clipsToBounds = YES; gestureRecognizers = <NSArray: 0x7f827acc9130>; layer = <CALayer: 0x7f827acc86a0>; contentOffset: {0, 0}; contentSize: {0, 93}> collection view layout: <FullyHorizontalFlowLayout: 0x7f827acdcbc0>.

@ppamorim
Copy link
Author

This solved my problem. I don't know why but (int)(self.collectionView.frame.size.height / self.itemSize.height) returns zero.

captura de tela 2016-04-14 as 15 39 31

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