2

I'd like to create some buttons (or UILables) and list them in a line and if necessaries, it breaks line automatically. Just like this image :

what I want

what I want

So, as I use IOS 9+, I've added a UIStackView and inside it I've added my buttons, but I have no new line definition in UIStackView. Do you have any have any idea or solution for my problem?

For now, my UIStackView is :

What I have

What I have

alexander.polomodov
  • 5,396
  • 14
  • 39
  • 46
Alireza
  • 107
  • 5

1 Answers1

1

You can add some Horizontal Stack Views into one Vertical Stack View just like this image :

enter image description here

ali
  • 330
  • 2
  • 13