Top "Autolayout" questions

Auto Layout is a constraint-based, descriptive user interface layout system for OS X and iOS.

Width and Height Equal to its superView using autolayout programmatically?

I've been looking for a lot of snippets in the net and I still can't find the answer to my …

ios swift dynamic autolayout nslayoutconstraint
What is "Constrain to margin" in Storyboard in Xcode 6

I am Working with autolayout and constraints and found there is a Constrain to margins option in Xcode 6 which was …

ios xcode storyboard autolayout xcode6
Use Storyboard to mask UIView and give rounded corners?

Lots of questions like this explain how to programmatically create a mask and provide rounded corners to a UIView. Is …

ios xcode swift storyboard autolayout
Centering a view in its superview using Visual Format Language

I just started learning AutoLayout for iOS and had a look at Visual Format Language. It all works fine except …

ios layout autolayout visual-format-language
UIScrollView doesn't use autolayout constraints

I have a scroll view and an image view behind it and I am populating it with nibs. I am …

objective-c uiscrollview constraints autolayout
Can I disable autolayout for a specific subview at runtime?

I have a view that needs to have its frame manipulated programmatically - it's a kind of document view that …

xcode xcode4 interface-builder xcode4.3 autolayout
When can I activate/deactivate layout constraints?

I've set up multiple sets of constraints in IB, and I'd like to programmatically toggle between them depending on some …

ios swift uiview autolayout nslayoutconstraint
How to determine height of UICollectionView with FlowLayout

I've got an UICollectionView with an UICollectionViewFlowLayout, and i want to calculate its content size (for return in intrinsicContentSize needed …

ios height uicollectionview autolayout
iOS: How does one animate to new autolayout constraint (height)

I've never worked with autolayout constraints before. I have a small new app I'm working on and noticed that the …

ios uiview autolayout nslayoutconstraint
How can I get a view's current width and height when using autolayout constraints?

I'm not talking about the frame property, because from that you can only get the view's size in the xib. …

ios autolayout