title: autoresize of uiview
body: <p>I have a <code>UIView</code> in a <code>UITabController</code>.
  And there is a <code>UITableView</code> in it.</p>
  
  <p>When toggling in call status bar it doesn't do anything and the view is not automatically resized.</p>
  
  <p>It assumes the right size based on whether the in call <code>UIStatusBar</code> was toggled when the app starts but if the <code>UIStatusBar</code> is toggled whilst the app is running nothing changes.</p>
  
  <p>Another tab view with a <code>UINavigationController</code> seems to resize fine.</p>
  
  <p>Here is the code</p>
  
  <pre>
  if ([indexPath indexAtPosition:0] == 0 || [indexPath indexAtPosition:0] == 1) {
          if (!airportChooser) {
              airportChooser = [[AirportChooserController alloc] init];
              airportChooser.targetController = self;
              airportChooser.view.autoresizesSubviews = YES;  
              airportChooser.view.autoresizingMask = UIViewAutoresizingFlexibleHeight;
              [airportChooser.view setAutoresizingMask:UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleWidth];
          }
          airportChooser.target = [indexPath indexAtPosition:0];
          [self.parentViewController.parentViewController.view addSubview:airportChooser.view];
          self.parentViewController.parentViewController.view.autoresizesSubviews = YES;
          self.parentViewController.parentViewController.view.contentMode = UIViewContentModeRedraw;
          [self.parentViewController.parentViewController.view setAutoresizingMask:UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleWidth];
          airportChooser.view.contentMode = UIViewContentModeRedraw;
          //[airportChooser open];
      }
  </pre>