-ViewController
--View
---ScrollView (Top,Bottom,Leading,Trailing spaces to superview set to 0)
----ContentView (Top,Bottom,Leading,Trailing spaces to superview set
Xcode 11
I've been following several tutorials on this for a few hours now, and none of them seem to work. It seems that Xcode 11 has some updates that change how the scroll views work with auto layout.
UIScrollView to the view and add top, bottom, leading, and trailing constraints.UIView to the scroll view. We will call this the content view. Delete the height constraint on the content view.
I found an excellent tutorial at this link.