A scroll view is a convenient tool you can use to prevent a keyboard from obscuring contents in your app. Using a scroll view, the user can quickly decide which parts of the interface they would like to see when the keyboard overlays a portion of the view. However, a scroll view is not always trivial to configure. It must know how large its contents are to determine whether scrolling needs to be enabled and to know how far down a user can scroll. Setting this up in Auto Layout requires a little bit of practice.
When you first add the scroll view to your view in Interface Builder, you must make sure that you add constraints that pin the scroll view to the edges of the view controller's view. This ...