Top "Uistackview" questions

The UIStackView class provides a streamlined interface for laying out a collection of views in either a column or a row.

Add views in UIStackView programmatically

I'm trying to add views in UIStackView programmatically. For now My code is: UIView *view1 = [[UIView alloc]init]; view1.backgroundColor = […

ios objective-c ios9 uistackview
Is it possible for UIStackView to scroll?

Let's say I have added more views in UIStackView which can be displayed, how I can make the UIStackView scroll?

ios uiscrollview uistackview
How to add leading padding to view added inside an UIStackView

This is my setup: I have an UIScrollView with leading,top, trialing edge set to 0. Inside this I add an …

ios swift uiscrollview uistackview
Multiline label in UIStackView

When putting multiline label (with linebreak set to Word Wrap) into a stack view, the label immediately loses the linebreak …

ios uikit uilabel xcode7 uistackview
How to change the background color of UIStackView?

I tried to change the UIStackView background from clear to white in Storyboard inspector, but when simulating, the background color …

ios swift uistackview
How can I create UIStackView with variable spacing between views?

I have a simple horizontal UIStackView with several UIViews stacked inside. My goal is to create variable spacing between views. …

ios9 ios-autolayout uistackview
UIStackView - layout constraint issues when hiding stack views

My app has 2 screens: TableViewVC (no stack views here) DetailVC (all the nested stack views here; please see link for …

ios swift uistackview
iOS/Swift: Dynamically size UIStackView when one of its items gets larger

I have two items in a vertical UIStackView: a UILabel and a UITableView. When a dynamic amount of UITableViewCells get …

ios swift uistackview
Adjusting UIView Height Inside UIStackView Control

I am using a UIStackView in iOS 9 SDK. The height of the stackview is 44 points. I have a UILabel and …

ios swift uistackview
UIStackView Hide View Animation

In iOS 11 the behaviour of the hide animation within a UIStackView has changed, but I have been unable to find …

ios swift animation uikit uistackview