title: Constraints autolayout for uitableview and uiview
body: <p>I'm facing a constraints autolayout issue which is I have a UITableView at upper and UIView at lower. When the UITableView expand the tableView section, I want the UIView at the bottom shift down automatically, when collapse the tableView section, the UIView at bottom will move up automatically. </p>
  
  <p><a href="https://i.stack.imgur.com/ck3N9.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ck3N9.jpg" alt="enter image description here"></a></p>
  
  <p>Below is my storyboard design, on the green sector is UITableView, on the red sector is UIView. </p>
  
  <p><a href="https://i.stack.imgur.com/S0hTa.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/S0hTa.png" alt="enter image description here"></a></p>
  
  <p><a href="https://drive.google.com/open?id=0B3e7l6RGD-rnMmFDZi1LOS1MMkU" rel="nofollow noreferrer">You can get my code from here</a></p>
  
  <p>Your help is much appreciated. </p>