【发布时间】:2020-09-10 14:21:24
【问题描述】:
我试图在 StackView 的不同列中的 ScrollView 之间强制执行相等的高度约束。当我强制执行约束时,较小的 ScrollView 增长为等于较大的。这会导致某些内容在屏幕外丢失。我已经尝试从两个方向创建约束。
为什么会这样?
Unequal heights, left column has more elements.
Add equal height constraint. Change the multiplier from 1.25 to 1.0.
The left scroll view grows and causes some content to be placed off screen.
【问题讨论】:
标签: ios swift xcode constraints interface-builder