iPhone modalView unwanted offset
- by Chonch
Hey,
I have a UITabBarController with three view controllers (from three different types).
On one of the view controllers, I want to display a modalViewController.
Once a UIButton on the screen is pressed, I perform this action:
AboutViewController *modalViewController = [[AboutViewController alloc] initWithNibName:@"AboutScreen" bundle:nil];
[self presentModalViewController:modalViewController animated:YES];
like I always do in order to display a modal view...
The problem is, that while the modal view is being displayed (while it is moving from the bottom of the screen), a 20 pixels grey strip is showing on the bottom of the screen (the same size as the status bar on the top).
Once the modal view reaches its final location, the strip disappears.
Needless to say this doesn't look good (to say the least).
Does anybody know why this may happen?
Thanks,