Skip to content
This repository has been archived by the owner on Dec 18, 2017. It is now read-only.

Problems when adding Navigation Controller #20

Open
derwaldgeist opened this issue Aug 4, 2015 · 0 comments
Open

Problems when adding Navigation Controller #20

derwaldgeist opened this issue Aug 4, 2015 · 0 comments

Comments

@derwaldgeist
Copy link

I sucessfully patched the Swift version to the new Swift 2 syntax. Everything works in principle, but only if I place the picker inside a normal view controller. Once I add a navigation controller, I'm getting error messages:

"Please check the values return by the delegate. The behavior of the UICollectionViewFlowLayout is not defined because: The item height must be less than the height of the UICollectionView minus the section insets top and bottom values."

This happens despite the picker has a size big enough to incorporate all items.

On screen, the problem is that the very last item is positioned below all other items, with an additional spacing to the top. This is why the space is not sufficient for everything. But this only happens when there is a navigation controller active.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant