如何摆脱“更多...”标签栏应用程序中的按钮?
我为此搜索了两周,但找不到答案。我在其他几个 sdk 论坛上发帖,似乎没有人知道...
我正在构建一个选项卡栏应用程序,我希望在底部的选项卡栏上有 6 个页面,其中有 6 个图标。默认情况下,如果您向选项卡栏添加超过 4 个图标,则在构建应用程序时您会看到“更多...”按钮。我不想要那样。
每个人都告诉我这是不可能的,但显然这是可能的,因为有许多应用程序的选项卡栏中有 6 个图标。
免费应用程序“大学橄榄球直播!”例如,
应用程序的选项卡栏中有 6 个图标屏幕截图 https://i.sstatic.net/QYyTC.png
我唯一能找到的东西这段代码是这里的教程吗...
raddonline.com/blogs/geek-journal/iphone-sdk-uitabbarcontroller-how-to-save-user-customized-tab-order/
我不确定该代码是否可以更改为创建 6 个图标或不创建 6 个图标,但如果有人可以帮助我解决这个问题,我将非常感激。
ive searched for 2 weeks solid on this and cant find an answer. ive posted on a couple of other sdk forums and nobody seems to have a clue...
i am building a tab bar app and i want to have 6 pages with 6 icons on the tab bar at the bottom. by default if you add more than 4 icons to the tab bar, when you build the app you get the 'more...' button. i dont want that.
everyone tells me its not possible, but obviously it IS possible because there are a number of apps with 6 icons in the tab bar.
the free app 'college football live!' for instance, has 6 icons in the tab bar
screenshot of the app
https://i.sstatic.net/QYyTC.png
the only thing ive been able to find is this piece of code for a tutorial here...
raddonline.com/blogs/geek-journal/iphone-sdk-uitabbarcontroller-how-to-save-user-customized-tab-order/
im not sure if that code can be changed to create 6 icons or not, but if anyone can help me out with this i would really appreciate it.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我认为最简单的方法是创建您自己的选项卡栏。
I think the most easy way do to this is to create your own tab bar.
在屏幕上只有 5 个选项卡可以看到,如果您想实现更多按钮,有两种方法可以做到这一点,首先是使用工具栏而不是选项卡栏控制器,另一种是使用底部的按钮像选项卡栏一样显示它
on screen only 5 tab can see possible if you want to implement more button there is two ways to do this thing first is use toolbar instead of tabbar controller and other is use button at bottom to show it like tabbar