多个标签栏控制器? [英] multiple tab bar controller?

查看:50
本文介绍了多个标签栏控制器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个标签栏控制器,其中我有4个标签.假设我按第四个标签,我想在该.any教程上方显示另一个标签栏控制器吗?

i have tab bar controller in which i have 4 tabs.suppose if i press 4th tab,i want to show another tab bar controller above that .any tutorial pls?

推荐答案

您可以通过在标准视图控制器内部添加UITabBar,然后将该视图控制器用作UITabBarController的viewControllers数组的成员之一来实现.但是请不要.这是可怕的用户界面.

you can do this by adding a UITabBar inside of a standard view controller, and then using that view controller as one of the members of a UITabBarController's viewControllers array. But PLEASE DON'T. This is horrible UI.

这篇关于多个标签栏控制器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆