What is the relationship between UIView's setNeedsLayout, layoutIfNeeded and layoutSubviews?

Posted by Tarfa on Stack Overflow See other posts from Stack Overflow or by Tarfa
Published on 2010-05-10T23:31:14Z Indexed on 2010/05/10 23:34 UTC
Read the original article Hit count: 372

Filed under:
|

Hi all. Can anyone give a definitive explanation on the relationship between UIView's setNeedsLayout, layoutIfNeeded and layoutSubviews methods? And an example implementation where all three would be used. Thanks.

© Stack Overflow or respective owner

Related posts about iphone

Related posts about uiview