有iPad应用程序与UINavigationBar和UITabBar。
我想展示另一个UIViewController (以红色UIView作为子视图的clearColored),其中包含“阻塞”UINavigationBar和UITabBar。
我该怎么做呢?
编辑的
如果我使用[self presentViewController:aboutView animated:YES completion:nil];:

它覆盖了所有的黑色背景(
发布于 2013-06-17 05:33:39
     [self.tabBarController.navigationController setNavigationBarHidden:TRUE];
     [self.navigationController setNavigationBarHidden:TRUE];
     self.tabBarController.hidesBottomBarWhenPushed = YES;
    [self presentViewController:VC animated:YES completion:nil];发布于 2013-06-17 05:28:24
您可以显示一个UIViewController,它将模糊底层的UITabBarController和UINavigationBarController。尝试:
[self presentViewController:aViewController animated:YES completion:nil];请记住,您将负责通过在呈现视图控制器上调用dismissViewControllerAnimated:来取消这个呈现视图控制器。
发布于 2013-06-17 05:42:57
尝尝这个
 ViewController *detailview =[[ViewController alloc]initWithNibName:@"ViewController" bundle:nil]
 [self.tabBarController presentViewController:detailview animated:YES completion:nil];https://stackoverflow.com/questions/17140882
复制相似问题