How can I use Autolayout to set constraints on my UIScrollview?

后端 未结 18 1693
别那么骄傲
别那么骄傲 2020-11-28 00:43

I have spent two days trying out the various solutions for Mixed and Pure Autolayout approaches to achieve what was a trivial scrollview setup prior to autolayout, and it\'s

18条回答
  •  夕颜
    夕颜 (楼主)
    2020-11-28 01:22

    I faced a similar problem. I set every constrained and was always wondering why it still resizes some subviews. My solution was to set clipsToBounds to YES.

提交回复
热议问题