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

Navigation Controller #31

Open
axmav opened this issue Jan 17, 2018 · 1 comment
Open

Navigation Controller #31

axmav opened this issue Jan 17, 2018 · 1 comment

Comments

@axmav
Copy link

axmav commented Jan 17, 2018

Hello!
If you embed ViewController in NavigationViewController in Example you get following errors on iPhone 5S 10.2:

2018-01-17 21:52:56.026 UPCarouselFlowLayoutDemo[63712:5963793] The behavior of the UICollectionViewFlowLayout is not defined because:
2018-01-17 21:52:56.026 UPCarouselFlowLayoutDemo[63712:5963793] the item height must be less than the height of the UICollectionView minus the section insets top and bottom values, minus the content insets top and bottom values.
2018-01-17 21:52:56.026 UPCarouselFlowLayoutDemo[63712:5963793] The relevant UICollectionViewFlowLayout instance is <UPCarouselFlowLayoutDemo.UPCarouselFlowLayout: 0x7fb1a5609850>, and it is attached to <UICollectionView: 0x7fb1a680e000; frame = (0 64; 320 277); clipsToBounds = YES; autoresize = RM+BM; gestureRecognizers = <NSArray: 0x61000004bfd0>; layer = <CALayer: 0x610000037ac0>; contentOffset: {0, -64}; contentSize: {0, 336}> collection view layout: <UPCarouselFlowLayoutDemo.UPCarouselFlowLayout: 0x7fb1a5609850>.
2018-01-17 21:52:56.027 UPCarouselFlowLayoutDemo[63712:5963793] Make a symbolic breakpoint at UICollectionViewFlowLayoutBreakForInvalidSizes to catch this in the debugger.
@DrankoLQ
Copy link

DrankoLQ commented Mar 9, 2018

By "Example" do you mean the test app included in the project? I've run it and those logs doesn't appear. Can you check you haven't changed the auto-layout constraints? It looks like the cell size is bigger than the UICollectionView size.

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

2 participants