次のコードを使用してモーダル ビューを表示していますが、ナビゲーション バーがステータス バーの後ろに隠れています。
ナビゲーション バーの半分しか表示されません。エラーを指摘し、解決策を提案してください。
tabBarController = [[UITabBarController alloc]init ];
UINavigationController *cntrol = [[UINavigationController alloc] initWithRootViewController:tabBarController];
NSArray* controllers = [NSArray arrayWithObjects:firstNav,secondNav,thirdNav,fourthNav,fifthNav, nil];
tabBarController.viewControllers = controllers;
tabBarController.selectedIndex=type;
[self presentModalViewController:cntrol animated:NO];
ここで、firstNav、secondNav、thirdNav、fourthNav、および thirdNav は、UINavigationController のインスタンスです。