Top "Layoutsubviews" questions

layoutSubviews is a method that is called automatically during view size changes.

When is layoutSubviews called?

I have a custom view that's not getting layoutSubview messages during animation. I have a view that fills the screen. …

ios cocoa-touch autolayout bounds layoutsubviews
How to force layoutSubviews of UIView.

I have a custom UIView which has a dedicated, manually set frame for portrait and landscape orientation because autoresizingMasks just …

ios iphone uiview uiviewcontroller layoutsubviews
where to create autolayout constraints for subclassed uitableviewcell?

I am trying to use autolayout for a uitableviewcell subclass I am creating and I would appreciate some advice on …

ios uitableview constraints autolayout layoutsubviews
layoutSubviews during an animation?

I have a UIView with a bunch of subviews, all positioned using layoutSubviews. When the view is resized, the relative …

iphone animation uiviewanimation layoutsubviews
Overriding layoutSubviews when rotating UIView

When rotating a scroll view inside a UIView, the scroll view doesnt position correctly using its default autoresizing behaviour. Thus, …

iphone objective-c uiview ios4 layoutsubviews
why isn't -layoutSubviews being called?

I'm trying to create a custom layout for some subviews. My file is a ViewController, so I have to refer …

objective-c ios cocoa-touch layoutsubviews
iOS: determine when all children have had layoutSubviews called

it appears that viewDidLayoutSubviews is called immediately after layoutSubviews is called on a view, before layoutSubviews is called on the …

ios objective-c uiview uiviewcontroller layoutsubviews
When I used layoutSubviews method of UItableViewcell with category in my file,something disappeared

when I used layoutSubviews method of UItableViewcell with category, just like the code below @implementation UITableViewCell (forimage) - (void)layoutSubviews{ […

objective-c uitableview layoutsubviews
Auto Layout causes infinite layoutSubviews loop

I'm really puzzled by this, when I use auto layout on a subview the layoutSubview method loops infinitely. All I'm …

ios objective-c autolayout infinite-loop layoutsubviews