UIStackView Distribution Fill Equally

前端 未结 3 675
醉梦人生
醉梦人生 2020-11-28 14:44

So, I have a UIStackView that contains four (4) UIViews. If I remove one (1) of those UIViews, the other three (3) will fill the entir

3条回答
  •  挽巷
    挽巷 (楼主)
    2020-11-28 14:56

    Remove the constraint on the stack view's bottom edge. Then it will resize to just fit the visible controls.

提交回复
热议问题