title: Adjust view size in UIViewController like the UITableViewController did
body: <p>By default, when a UINavigationController pushes a UIViewController, the height of view of UIViewController is set to full screen height. But when the UITableViewController is pushed, the tableview automatically adjusts its size to fit the remain space of the screen instead of setting its height to fullscreen. I wonder how the UITableViewController do this magic. </p>
  
  <p>What code should I put inside the UIViewController so that the view of UIViewController behave like the tableview of the UITableViewController(view height auto fit screen)?</p>