Skip to content

fix iOS 7 autoLayout crash.#155

Open
haojianzong wants to merge 3 commits intonicklockwood:masterfrom
haojianzong:master
Open

fix iOS 7 autoLayout crash.#155
haojianzong wants to merge 3 commits intonicklockwood:masterfrom
haojianzong:master

Conversation

@haojianzong
Copy link

I got this crash message: “Auto Layout still required after executing -layoutSubviews”

Adding [self layoutIfNeeded] in the end of - (void)layoutSubviews will fix.

Relevant topic

@Xcoder89
Copy link

Xcoder89 commented Apr 2, 2015

+1

@r-dent
Copy link

r-dent commented Apr 28, 2015

I would really like to see this merged, too.

@haojianzong
Copy link
Author

I have update the pull request to remove [self layoutIfNeeded], which will sometimes cause infinite loop.

Instead put [super layoutSubviews] in the end of -layoutSubviews will fix the “Auto Layout still required after executing -layoutSubviews” issue.

@quentinhayot
Copy link

This needs to be merged !

@LinkRober
Copy link

I readlly like seeing this merged!!!

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.

5 participants