[英]How to set up autolayout constraints for vertical Stack View in Scroll View
I have the following setup, which I can't get properly to work with auto-layout: 我有以下设置,无法正确使用自动布局:
Scroll View, which should take the whole screen
|_ Stack View, which should take the whole size of the Scroll View
|_ View 1 with a predefined height of 200
|_ View 2 with a flexible height defined by content, but minimum 300
|_ View 3 with a predefined height of 500
I tried the following yet: 我尝试了以下方法:
And I get: 我得到:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.