I am making a form based UIScrollView, which will contain some labels and text fields.

My ScrollView Height will increase as per the iOS device height.

PS: I do not want to add constraint to each and every element of the Scrollview, because in my case there could be 100 form fields.

![iphone 4 inch](https://i.stack.imgur.com/18ySq.png)

![iphone 3.5 inch](https://i.stack.imgur.com/fNoZJ.png)

What I want is, the inner content to fully occupy my scrollView like this:

![Requirement](https://i.stack.imgur.com/4Wbdh.png)

Till now there a are no special constraints, the button is tagged with the bottom edge and the scroll view is pinned from the top edge. Also, the vertical spacing between scrollview and button is defined.

This is the autolayout constraint screenshot.

![enter image description here](https://i.stack.imgur.com/TXHqg.png)