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

Flow layout crash on Xcode 6 GM #1

Open
guillaumealgis opened this issue Sep 18, 2014 · 2 comments
Open

Flow layout crash on Xcode 6 GM #1

guillaumealgis opened this issue Sep 18, 2014 · 2 comments

Comments

@guillaumealgis
Copy link

I'm getting a crash when testing on the iPad 2 simulator w/ iOS 8, compiled using Xcode 6 GM.
Everything's working fine until I rotate the simulator, then I'm getting this if I started the app in portrait:

http://pastebin.com/RFRKhcG6

Or this if I started in landscape, rotated to portrait, and the came back to landscape again. There's no crash, only Xcode insulting me with "breaking constraints" stuff:

http://pastebin.com/PALMF1nF

Does anyone experienced the same thing? Is this an Apple bug?

@guillaumealgis
Copy link
Author

The crash is fixed in Xcode 6.1. Autolayout complains about a lot of broken constraints, though.

@fatuhoku
Copy link
Owner

@guillaume-algis I ran into the very same problem lately, and I'm using 6.1.1. The feature in iOS 8 still feels a bit shakey and I've actually gone back to basics with regards to doing self-sizing, using a combination of -collectionView:layout:sizeForItemAtIndexPath: on the layout delegate and -systemLayoutSizeFittingSize:UILayoutFittingCompressedSize in the cell itself.

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