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

Error when rotate collectionViewController as contentController #283

Open
Xedart opened this issue Apr 6, 2016 · 1 comment
Open

Error when rotate collectionViewController as contentController #283

Xedart opened this issue Apr 6, 2016 · 1 comment

Comments

@Xedart
Copy link

Xedart commented Apr 6, 2016

When rotate with opened side menu, there is an error with collectionView that's contentView.

Consider the following:

screenshot 2016-04-06 23 13 25

that's my collectionview with some items. Flow layout is applied, and items' width is equal to collection view width.
Thought it looks like this after rotation:
screenshot 2016-04-06 23 13 17

Have anybody faced this problem?

@Xedart
Copy link
Author

Xedart commented Apr 11, 2016

Ok I figured it out. The solution is to get some delay before reloading collection view in viewWillTransitionToSize method.

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