SwipeView icon indicating copy to clipboard operation
SwipeView copied to clipboard

fix iOS 7 autoLayout crash.

Open haojianzong opened this issue 10 years ago • 5 comments

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

haojianzong avatar Jan 29 '15 08:01 haojianzong

+1

Xcoder89 avatar Apr 02 '15 07:04 Xcoder89

I would really like to see this merged, too.

r-dent avatar Apr 28 '15 07:04 r-dent

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.

haojianzong avatar May 14 '15 07:05 haojianzong

This needs to be merged !

quentinhayot avatar Aug 10 '15 09:08 quentinhayot

I readlly like seeing this merged!!!

LinkRober avatar Mar 30 '16 03:03 LinkRober