Adjusting UIView Height Inside UIStackView Control

前端 未结 4 1170
Happy的楠姐
Happy的楠姐 2020-12-06 09:59

I am using a UIStackView in iOS 9 SDK. The height of the stackview is 44 points. I have a UILabel and UIView inside the StackView as shown below:

Now, I wa

4条回答
  •  余生分开走
    2020-12-06 10:36

    The breaking constraint problem can be easily fixed by setting the priority of width and height constraints to 800 or above.

提交回复
热议问题