Auto layout UIScrollView with subviews with dynamic heights
I use pure structure like the following -view -scrollView -view A -view B -Button Make sure Button(THE LAST view) has a constraint(vertical spacing from its bottom to superview, which is the scrollview), in this case, no matter what changes for your view A and view B would be, scrollView’s height will be changed accordingly. I … Read more