Top "Autolayout" questions

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

Enabling auto layout in iOS 6 while remaining backwards compatible with iOS 5

What is the best way to take advantage of the new auto layout features of iOS 6 while still providing compability …

ios ios5 backwards-compatibility ios6 autolayout
Can I use setFrame and autolayout on the same view?

I want to add padding to all of my buttons, so I subclassed UIButton, and among other changes, I wanted …

iphone cocoa-touch interface-builder frame autolayout
Add spacing constraint to superview in Xcode 5

I am building an iOS app in Xcode 5, and I'm having trouble adding layout constraints. In Xcode 4.x, I could …

ios xcode interface-builder autolayout xcode5
How to resize JavaFX ScrollPane content to fit current size

I have a BorderPane with a ScrollPane as the center element. It resizes automatically to fill the screen. Inside the …

resize javafx autolayout scrollpane
iOS AutoLayout multi-line UILabel

Following question is sort-of continuation of this one: iOS: Multi-line UILabel in Auto Layout The main idea is that every …

ios uilabel autolayout
Auto Layout constraint on CALayer IOS

Hi I am developing iPhone application in which I tried to set one side border for edittext. I did this …

ios autolayout calayer
iOS change auto layout constraints when device rotates

I want to modify the layout constraints when the device rotates. My UIViewController is composed of 2 UIViews, in landscape they …

objective-c ios autolayout nslayoutconstraint
"Width equals height" constraint in Interface Builder

I can't find a way to create a 'square' constraint, meaning 'width equals height' in Interface Builder. I guess it's …

ios interface-builder autolayout nslayoutconstraint
Autolayout: Add constraint to superview and not Top Layout Guide?

I have a UIView in my UIViewController in storyboard which I want to add a constraint on to space that …

ios storyboard autolayout nslayoutconstraint
reloadData() of UITableView with Dynamic cell heights causes jumpy scrolling

I feel like this might be a common issue and was wondering if there was any common solution to it. …

ios uitableview swift autolayout