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

There is a case in iOS8, where we get NSAutoresizingMaskLayoutConstraint... #24

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

kaylanx
Copy link

@kaylanx kaylanx commented Aug 15, 2014

...s, if we have an auto layout cell that uses a custom view using springs and struts. This crashes the app when we try to re-add the constraint to the custom view, because the NSAutoresizingMaskLayoutConstraints first or second item are nil. So an additional check to see if the first and second items are nil is performed.

Andrew Kayley and others added 2 commits August 15, 2014 14:15
…ints, if we have an auto layout cell that uses a custom view using springs and struts. This crashes the app when we try to re-add the constraint to the custom view, because the NSAutoresizingMaskLayoutConstraints first or second item are nil. So an additional check to see if the first and second items are nil is performed.
Rightpoint#20.

Instead of calling layoutIfNeeded, call setNeedsLayout, this stops the
infinite loop if UIViewShowAlignmentRects is turned on.
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

Successfully merging this pull request may close these issues.

1 participant