2019年7月11日 | Leave a comment 问题 UIScrollView 里边放一个 UIStackView 该怎么设置 AutoLayout 约束 解决: 关键在于需要设置 UIStackView 的 leading & tralling & top & bottom 约束,应该是根据这个推算出 UIScrollView.contentSize 参考: