1.scrollView中的内容frame在layoutSubviews时为0 scrollView中的内容如果使用约束(目标是scrollView),会在第一次展示时frame为0(但是有内容,不过不正确)。 改用frame布局