Iphone 3.0“更多”选项卡 - 在模拟器中运行时不显示
我的 TabBarController 中包含 5 个视图,每个视图内部都有一个 navigationController (这一切都是通过 IB 实现的),并且出于某种原因,显示的不是显示第 5 个选项卡的更多选项卡。 我已经仔细检查过我的所有笔尖都已在 IB 中声明并且连接已正确创建。 事实上,当我单击选项卡时,甚至是第 5 个选项卡都会显示所有视图。 有人有主意吗?
I have 5 views contained in my TabBarController, each view has a navigationController inside of it (Did this all through IB) and for some reason instead of the more tab displaying the 5th tab is shown. I have double-checked that all my nibs are declared and connections are created correctly in IB. In fact, all the views show when i click on the tab even the 5th. Anyone have any ideas?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
Apple 显然已决定在 UITabBar 中一次最多可见 5 个选项卡。 如果您有 5 个或更少,它只会显示全部; 因此,不需要“更多”选项卡,并且该选项卡将不可见。
Apple has apparently decided that 5 tabs is the most that should be visible at one time in the UITabBar. If you have 5 or fewer, it just shows them all; thus the MORE tab is not needed, and will not be visible.
好吧,我明白了,很奇怪......一旦我将第六个视图控制器放在选项卡控制器下,就会显示更多选项卡。奇怪......
Ok, so I got it,pretty strange..as soon as i put a sixth view controller under the tabbarcontroller the more tab shows up.Weird...
可以发誓在最新的文档中它仍然说超过 4...也许我误读了一些东西...
could have sworn that in the latest docs it still says more than 4...maybe I misread something...