1

For a layout made of some views stacked in each other, which are all subviews of the UIView and I wanted to know how to automatically size the main UIView which may be multiline once the app is live and updates come in. UIView width is fixed.

coder
  • 8,346
  • 16
  • 39
  • 53
Nazo A
  • 25
  • 4
  • Can you elaborate? We usually use collection views for dynamic data, but it totally depends on your use case. – Asim Jul 23 '18 at 19:21

1 Answers1

1

I believe the view (UIView) does size itself so i dont think you will face this issue. Just try to not constrain the height and make sure you select appropriate stack view while doing this since you got multiple. Hope this helps as i assume that you are not using collection view for this matter!

Ash
  • 138
  • 1
  • 3