Top "Autolayout" questions

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

How to set height of containers in stack view?

I'd like to ask you if it's possible to set height in percentage of each container placed in vertical stack …

objective-c swift autolayout uicontainerview uistackview
Hiding a UIView using AutoLayout constraints

From time to time I have a subview that I would like to remove from a layout. Not only should …

ios uiview autolayout nslayoutconstraint
UIScrollView wrong offset with Auto Layout

I have a fairly simple view configuration: A UIViewController, with a child UIScrollView and a UIImageView in this UIScrollView. I …

ios uiscrollview autolayout
AutoLayout multiline UILabel cutting off some text

I'm trying to learn auto layout, finally thought I was getting the hang on it when this happened. I'm playing …

ios objective-c uilabel autolayout uistoryboard
Resizing Button within a stackview

So I've be studying Swift/iOS development recently and I'm having a little trouble with sizing buttons within a stack …

ios uibutton autolayout uistackview
What happens with constraints when a view is removed

The question I have is simple but I couldn't find any information in the documentation. What happens with layout constraints …

ios autolayout nslayoutconstraint
Auto Layout and "Hide bottom bar when pushed"

My app's (simplified) structure is this: UITabBarController with one UINavigationController holding a UITableViewController as root view controller. when tapping one …

ios objective-c storyboard uitabbarcontroller autolayout
Fill Proportionally in UIStackView

I am using Storyboard to create a layout which consists of a UITableView and a UIView at the bottom. I …

ios autolayout uistackview
Frame "will be different at run time".... Isn't that the whole point?

Maybe striving for a "warning free" project is futile, but I am nervous enough about Adaptive Layout/ AutoLayout that I …

ios xcode autolayout adaptive-layout
iOS autolayout to center my view between two views

How to set up autolayout in Interface Builder to arrange views vertically as shown on image: Top view pinned to …

ios interface-builder autolayout