So I've followed all the best practices with respect to having a scrollable content view that works with autolayout (first have one direct subview of UIScrollView, add all the pin constraints, etc), especially when you have a UITextView (i.e. disable scrollingEnabled on the text view)
for example here, or just googling UIScrollView and Autolayout you'll find a lot of tutorials that rehash the same thing.
I've done all this, but am noticing that the scrollView is calculating a contentSize that does not match the contentView's height. I have no idea why this is:
I expect moderators to point out other questions. I looked around and nothing really matched what I'm seeing...
contentView
's height? And, is yourcontentView
's bottom anchor constrained to the bottom anchor of the scroll view, with a constant of Zero? – DonMag