Skip to content

fix iOS 7 autoLayout crash. - #155

Open
haojianzong wants to merge 3 commits into
nicklockwood:masterfrom
haojianzong:master
Open

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

Conversation

@haojianzong

Copy link
Copy Markdown

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

Xcoder89 commented Apr 2, 2015

Copy link
Copy Markdown

+1

@r-dent

r-dent commented Apr 28, 2015

Copy link
Copy Markdown

I would really like to see this merged, too.

@haojianzong

Copy link
Copy Markdown
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
Copy Markdown

This needs to be merged !

@LinkRober

Copy link
Copy Markdown

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