简体   繁体   English

UINavigationControler 顶部的自定义标签栏

[英]Custom tab bar on top of UINavigationControler

I'm trying to add a UINavigationController to an app I'm making with a custom tab bar.我正在尝试将 UINavigationController 添加到我正在使用自定义标签栏制作的应用程序中。 Everything works, the only problem I'm having is the fact that any controller pushed into view using pushViewController appears above everything else in my view (including the tabs).一切正常,我遇到的唯一问题是使用 pushViewController 推入视图的任何 controller 都出现在我视图中的其他所有内容之上(包括选项卡)。 Is there any way to set the view index for controllers pushed into view?有没有办法为推入视图的控制器设置视图索引?

I'm not sure if I get your question right, you want to display a UINavigationController's view for one of the tabs of your custom tabbar?我不确定您的问题是否正确,您想为自定义标签栏的其中一个标签显示 UINavigationController 的视图吗?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM