title: Expandable UIView in ScrollView in iOS
body: <p>How can I  make my UIViews to expandable/collapsible UIView embedded in ScrollView.
  <img src="https://i.stack.imgur.com/9Eayr.png" alt="enter image description here"></p>
  
  <p><img src="https://i.stack.imgur.com/Yv62g.png" alt="enter image description here"> </p>
  
  <p>This is my mainview and when the user taps on the button the view automatically resize(+200 height) itself and the views below it will automatically adjust so as the scroll view.</p>
  
  <p><strong>Edit:</strong> I think I can't use TableView because I'm making a automation form like this <img src="https://i.stack.imgur.com/kMvHV.png" alt="enter image description here"> </p>
  
  <p>So my idea here is that whenever the switch is turn on, the label will be added in the email form and the switch acts as the (Expande/collapse) trigger of the child of the parent.</p>