I have a small problem with my iPhone app. On my UIView nibs, after the in-call status bar has appeared then gone, the view doesn't resize correctly. Specifically, the top of the navigation bar is hidden underneath the status bar.
These three images show the before, during and after in-call status bar. My problem is shown in the last image. Images
I call the nib using this code:
- (IBAction)showMapClicked:(id)sender
{
if (childController == nil) {
childController = [[MapViewController alloc] initWithNibName:@"MapViewController" bundle:nil];
}
[self.navigationController pushViewController:childController animated:YES];
}
I've found this SO question but it doesn't seem to cover the problem I have: Resize for in-call status bar
Thanks for any insights into how to fix.