title: resize UItableView
body: <p>i use this code </p>
  
  <pre><code>- (IBAction)gotostatuttableviewcontroller:(id)sender
  { 
      [self.statutsField resignFirstResponder];
      StatusTableViewController *statuttableview =[[StatusTableViewController alloc]initWithNibName:@"StatusTableViewController" bundle:nil];
      statuttableview.Flynumber=statutsField.text;
      [statuttableview.Flynumber retain];
      [self.navigationController pushViewController:statuttableview animated:YES];
  
   }
  </code></pre>
  
  <p>and this is my interface in interface builder <a href="http://hpics.li/19cc67b" rel="nofollow">http://hpics.li/19cc67b</a></p>
  
  <p>But when i build , i have this 
  <a href="http://hpics.li/188d87e" rel="nofollow">http://hpics.li/188d87e</a></p>
  
  <p>Why the tableview don't have the same seize that i puted in interface builder ? It's becaus it' a UItableViewcontroller class and not UIViewCotroller ?</p>
  
  <p>@CharlieMezak i do it and now i have this error </p>
  
  <blockquote>
    <p>Terminating app due to uncaught
    exception
    'NSInternalInconsistencyException',
    reason: '-[UITableViewController
    loadView] loaded the
    "StatusTableViewController" nib but
    didn't get a UITableView.'</p>
  </blockquote>
  
  <p>in this line ( pushviewcontroller)</p>
  
  <pre><code>   StatusTableViewController *statuttableview =[[StatusTableViewController alloc]initWithNibName:@"StatusTableViewController" bundle:nil];
      statuttableview.Flynumber=statutsField.text;
      [statuttableview.Flynumber retain];
      [self.navigationController pushViewController:statuttableview animated:YES];
  </code></pre>
  
  <p>Thank you</p>