How to use ScrollView with Autolayout
This post hasn't been updated for 4 years
To use ScrollView, you have to understand.
-
All subview of ScrollView alway add to ContentView.
-
ContentView size is determined by size of all its subview. So, if you want to define size of ContentView you must give size to subview to generate size of ContentView size.

All Rights Reserved