Top "Uistackview" questions

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

How to center both vertical and horizontal inside a UIStackView

I have a simple UIImageView with 50x50 size. If I had a UIView of size 100x100 and I wanted to …

ios objective-c swift uikit uistackview
How can I set the cornerRadius of a UIStackView?

I'm updating my app to use UIStackViews, now that most people should have updated to iOS 9. In the old version, …

ios swift cornerradius uistackview
Programmatically add subviews to a UIStackView

I'm trying to implement a table view cell that displays a series of icons that represent home amenities (e.g. …

ios swift uistackview
UIStackview align left

I'm trying to align the items in UIStackview horizontally to the left. Is there anyway to do this programmatically? I …

ios swift uistackview
Add tap gesture to UIStackView

Im attempting to add a UITapGesture to a UIStackView within a collectionView cell but each time I do my app …

ios swift uistackview
Dynamic UITableView row height using UIStackView?

Surprised this isn't working out of the box, as this seems to be an important use case for stack views. …

ios xcode uitableview autolayout uistackview
How to Add Constraint for view inside stack view

I have one stack view that contains with 4 buttons. And each button I also add subview to that. The subview …

ios swift constraints uistackview
Expand UITableView to show all cells in Stack View?

I am having trouble getting my UITableView to appear full height in my Stack View. My view tree looks as …

ios swift uitableview uistackview
Why is this Stack View layout ambiguous?

I'm trying to create a relatively simple (!) layout with iOS 9 Stack Views. This is the Storyboard: With the following layout: …

ios uistackview
Swift: Disappearing views from a stackView

I have a fairly simple set up in my main storyboard: A stack view which includes three views The first …

ios iphone swift uistackview