I have a uiview in a tab controller
And in it is a uitableview
When toggling in call status bar it doesn't do anything
The view is not automatically resized
It assumes the right size based on whether the in call status bar was toggled when the app starts but if the status bar is toggled whilst the app is running nothing changes
another tab view with a navigation controller seems to resize fine
Here is the code
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]; }