在UITabBarController中滑动UITabBarItems [英] Sliding UITabBarItems in UITabBarController

查看:120
本文介绍了在UITabBarController中滑动UITabBarItems的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个 UITabBarController 作为我的rootController与 8 UITabBarItems 。我想在我的屏幕上只显示4 UITabBarItems 。默认情况下,所有我的其他标签栏项目出现在一个名为更多的小tabBarItem中,您可以选择其他4.但我已经看到一些实现滑动的应用程序 UITabBarItems 使用幻灯片图标而不是更多图标。

I have a UITabBarController as my rootController with 8 UITabBarItems. and I want to show just 4 UITabBarItems in my screen. By default all my other tab bar items appear in a small tabBarItem called "More" and you can select the other 4. But I have seen some apps that implement a sliding UITabBarItems with a slide icon instead of a "More" icon.

如何一次只显示4张图片, / strong> TabBarItems,以便我可以选择其他标签栏项目?

How can I show just 4 at a moment, and I slide the TabBarItems, and so that I can select the other tab bar items ?

〜这样的东西〜

>

我可以通过拖动

如果有人能指出我的方向是有帮助的。

It would be helpful if someone could point me in the right direction.

推荐答案

有一个漂亮的小github项目可以帮助你...查看: https://github.com/iosdeveloper/InfiniTabBar

There is a nifty little github project that could help you... check it out: https://github.com/iosdeveloper/InfiniTabBar

这篇关于在UITabBarController中滑动UITabBarItems的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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