0

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?

4

3 回答 3

2

Apple 显然已经决定在 UITabBar 中一次最多可以看到 5 个选项卡。如果你有 5 个或更少,它只会显示它们;因此不需要更多选项卡,并且不会显示。

于 2009-07-02T18:33:09.433 回答
0

本可以发誓在最新的文档中它仍然说超过 4...也许我误读了一些东西...

于 2009-07-02T23:36:03.823 回答
0

好的,所以我明白了,很奇怪..只要我在 tabbarcontroller 下放置第六个视图控制器,就会显示更多选项卡。奇怪...

于 2009-07-02T11:49:30.343 回答