Need 6 tabs in tab bar [duplicate]

为君一笑 提交于 2019-11-29 15:59:03

Maximum is 5 Tabs in a tabbar. This is because when there was more than 5 tab, they would be too small and for people with thicker fingers it would be difficult to hit the wanted tab.

If you really want, you can write your own tabbar-controller that allows 6 or even more tabs, but you should not do that. The chance is high, apple will reject your app because it doesn't meet apples design-rules. And I think it is good, that apple rejects such apps!

You will have to create your custom tab bar controller for that.

You can not have 6 tabs in tab bar without More tab. After adding 4 tabs, in Fifth tab it will display More with 5th tab and 6th tab and it is the characteristics of tab bar in iOS. You can try toolbar.

Yes you can do this thing but you need to use customview.

your tabbar works in back-ground and place a custom view at bottom in window and set delegate for it and add this view in main window.

then you will hit button at bottom and you can redirect event to appDelegate class by delegate.

where you can set your desired tab as by button hit.

i think you may get some ideas.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!