如何在iOS 6中的UITabBarController的"更多"按钮上添加图像?

iPa*_*tel -4 iphone objective-c uitabbarcontroller ios

我知道如何添加UITabBarController以及如何使用它,我已经完成了.

我的问题是我无法在'more'标签上添加图像UITabBarController.
我知道有许多类似的问题,但我没有帮助.
谷歌搜索后我发现我们无法在'More'选项卡上添加图像UITabBarController因为more选项卡是自动显示的UITabBarController时间UITabBarItem是更多然后5.
我可以找到如何更改选择颜色和标题 'more'按钮,但我找不到关于'more'按钮图像.

所以我可能需要自定义UITabBarController,我也在寻找自定义UITabBarController但无法找到它.

请帮我解决这个问题.

The*_*ger 5

iPhone中的标签超过5时会自动生成更多按钮.所以你不能这样做.相反,你应该在s UIViewUIButtons 的帮助下创建一个自定义tabbar .

了解如何添加UIViewController视图self.view.

[self addChildViewController:yourViewController];
yourViewController.view.frame = anyFrame;
[self addSubview:yourViewController.view];
[yourViewController didMoveToParentViewController:self];
Run Code Online (Sandbox Code Playgroud)

通过此,您可以UIViewController在每个按钮的单击上添加不同的内容.祝一切顺利!

好吧如果你不想自己创造它.以下是自定义选项卡列表,找到符合您要求的选项卡.

  1. AKTabBarController
  2. InfiniTabBar
  3. RaisedCenterTabBar
  4. MHTabBarController
  5. TweetBotTabBar
  6. ALCustomTabBarController
  7. MHCustomTabBarController
  8. M13InfiniteTabBar
  9. TabBarKit
  10. RNSwipeBar
  11. BCTabBarController
  12. TabBarAnimation
  13. ExpandableTabBar
  14. JBTabBarController
  15. JSScrollableTabBar
  16. NGTabBarController
  17. crtabbar
  18. VSTabBar
  19. DMFilterView
  20. CubeTabBarController
  21. FSVerticalTabBarController
  22. PrettyKit