我制作了一个带有 5 个选项卡的基于选项卡的控制器,在第一个选项卡上,有一个按钮可以调用模态视图。
但是当一个模态视图出现时,它上面没有标签栏。
如何在显示的模态视图中显示标签栏?
例如,如果 FirstViewController 是您的第一个标签栏的第一个 viewController,您应该这样做:
[FirstViewController.view addSubview:theViewYouWantToShow];
If you'll call a viewController using presentModelViewController, it'll hide the tabbar of the application. You can use either of 2 way:
navigationController in first tab and push anotherViewController (without animation if you don't wanna show push effect)anotherViewController.view as subView on firstViewController